MCP / Posts & avatar
generate_post
asynchroneAPI: POST /v1/posts
Crée un post image.
Exemple en conversation
Demandez simplement à votre assistant :
« Crée un post carré pour annoncer notre levée de fonds. »
Arguments
| Nom | Type | Requis | Description |
|---|---|---|---|
format | string | oui | square | portrait | story. |
prompt | string | non | Sujet. |
Appel de l'outil (JSON)
{
"format": "<format>",
"prompt": "<prompt>"
}Ce que renvoie l'outil
Comme l'endpoint POST /v1/posts :
{
"id": "post_1",
"status": "processing",
"cost": 0,
"credits_remaining": 320
}Cet outil est asynchrone: il renvoie un
job_id. L'assistant appelle ensuite get_job jusqu'à status: "done".