cURL
curl --request GET \ --url https://api.example.com/api/v2/generate/{generation_id}
Опрос статуса асинхронной задачи
Documentation IndexFetch the complete documentation index at: https://docs.elumenta.ru/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.elumenta.ru/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/v2/generate
curl https://elumenta.ru/api/v2/generate/18502 \ -H "Authorization: Bearer nb_ВАШ_КЛЮЧ"
{"id": 18502, "status": "pending", "result_url": null, "tokens_spent": 0}
{ "id": 18502, "status": "completed", "result_url": "https://storage.elumenta.ru/generations/18502.mp4", "tokens_spent": 60, "processing_ms": 87420 }
{"id": 18503, "status": "failed", "error": "Content policy violation", "tokens_spent": 0}