Usa CometAPI POST /mj/submit/describe para extraer un prompt inicial de Midjourney a partir de una imagen subida para remezclar e iterar rápidamente.
curl --request POST \
--url https://api.cometapi.com/mj/submit/describe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base64": "data:image/png;base64,xxx"
}
'{
"code": 123,
"description": "<string>",
"properties": {},
"result": 123
}Usa este endpoint para extraer sugerencias de prompt al estilo Midjourney a partir de una imagen de entrada.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Enviar la imagen
Consultar la tarea describe
Reutilizar el prompt generado
Bearer token authentication. Use your CometAPI key.
Base64-encoded image to describe. Use a data URI such as data:image/png;base64,xxx. Provide either base64 or link.
URL of the image to describe. Provide either link or base64.
Bot type to use. MID_JOURNEY for Midjourney (default), NIJI_JOURNEY for Niji.
NIJI_JOURNEY, MID_JOURNEY Custom state string. Returned as-is in the task result and webhook callback for your own tracking.
curl --request POST \
--url https://api.cometapi.com/mj/submit/describe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base64": "data:image/png;base64,xxx"
}
'{
"code": 123,
"description": "<string>",
"properties": {},
"result": 123
}