{"components":{"schemas":{"BatchRequest":{"properties":{"jobs":{"items":{"additionalProperties":true,"type":"object"},"maxItems":100,"type":"array"}},"required":["jobs"],"type":"object"},"Error":{"properties":{"error":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"type":"object"}},"type":"object"},"EstimateRequest":{"additionalProperties":true,"description":"type \u0438 \u0442\u0435 \u0436\u0435 \u043f\u043e\u043b\u044f, \u0447\u0442\u043e \u0443 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447\u0438","properties":{"type":{"enum":["image","video","music","text"],"type":"string"}},"required":["type"],"type":"object"},"ImageRequest":{"properties":{"count":{"maximum":8,"minimum":1,"type":"integer"},"images":{"description":"\u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u043a\u0438 (\u0434\u043e 4, \u0434\u043e 8 \u041c\u0411)","items":{"properties":{"base64":{"type":"string"},"mime":{"type":"string"}},"type":"object"},"type":"array"},"model":{"default":"fast","description":"id \u0438\u0437 GET /models (image)","type":"string"},"params":{"description":"\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043c\u043e\u0434\u0435\u043b\u0438","type":"object"},"prompt":{"type":"string"},"reference_urls":{"items":{"format":"uri","type":"string"},"type":"array"},"webhook_url":{"description":"https-\u0430\u0434\u0440\u0435\u0441 \u0434\u043b\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 (\u043f\u043e\u0434\u043f\u0438\u0441\u044c X-AB-Signature).","format":"uri","type":"string"}},"required":["prompt"],"type":"object"},"Job":{"properties":{"cost_tokens":{"type":"integer"},"created_at":{"type":"string"},"error":{"nullable":true,"type":"object"},"finished_at":{"type":"string"},"id":{"type":"string"},"object":{"enum":["job"],"type":"string"},"refunded":{"type":"boolean"},"request":{"type":"object"},"result":{"nullable":true,"type":"object"},"started_at":{"type":"string"},"status":{"enum":["queued","processing","completed","failed","canceled"],"type":"string"},"type":{"enum":["image","video","music","text"],"type":"string"},"webhook":{"type":"object"}},"type":"object"},"MusicRequest":{"properties":{"duration":{"type":"integer"},"instrumental":{"type":"boolean"},"language":{"enum":["ru","en"],"type":"string"},"lyrics":{"type":"string"},"prompt":{"type":"string"},"styles":{"items":{"type":"string"},"type":"array"},"title":{"type":"string"},"vocal":{"enum":["any","f","m"],"type":"string"},"webhook_url":{"description":"https-\u0430\u0434\u0440\u0435\u0441 \u0434\u043b\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 (\u043f\u043e\u0434\u043f\u0438\u0441\u044c X-AB-Signature).","format":"uri","type":"string"}},"type":"object"},"TextRequest":{"properties":{"max_tokens":{"maximum":2048,"type":"integer"},"messages":{"items":{"properties":{"content":{"type":"string"},"role":{"enum":["user","assistant"],"type":"string"}},"type":"object"},"type":"array"},"prompt":{"type":"string"},"system":{"type":"string"},"webhook_url":{"description":"https-\u0430\u0434\u0440\u0435\u0441 \u0434\u043b\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 (\u043f\u043e\u0434\u043f\u0438\u0441\u044c X-AB-Signature).","format":"uri","type":"string"}},"type":"object"},"VideoRequest":{"properties":{"images":{"items":{"type":"object"},"type":"array"},"mode":{"enum":["t2v","i2v"],"type":"string"},"model":{"description":"id \u0438\u0437 GET /models (video)","type":"string"},"params":{"type":"object"},"prompt":{"type":"string"},"reference_urls":{"items":{"type":"string"},"type":"array"},"webhook_url":{"description":"https-\u0430\u0434\u0440\u0435\u0441 \u0434\u043b\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 (\u043f\u043e\u0434\u043f\u0438\u0441\u044c X-AB-Signature).","format":"uri","type":"string"}},"type":"object"}},"securitySchemes":{"bearerAuth":{"bearerFormat":"ab_live_...","scheme":"bearer","type":"http"}}},"info":{"description":"\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a, \u0432\u0438\u0434\u0435\u043e, \u043f\u0435\u0441\u0435\u043d \u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432. \u041a\u0430\u0436\u0434\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u044b \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 \u043a\u043b\u044e\u0447\u0430; \u043f\u0440\u0438 \u0441\u0431\u043e\u0435 \u0442\u043e\u043a\u0435\u043d\u044b \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442\u0441\u044f. \u041a\u043b\u044e\u0447 \u0432\u044b\u0434\u0430\u0451\u0442\u0441\u044f \u0432 \u043f\u0440\u043e\u0444\u0438\u043b\u0435, \u0440\u0430\u0437\u0434\u0435\u043b \u00abAPI\u00bb. \u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c: POST /estimate.","title":"AI \u0411\u0440\u0438\u0433\u0430\u0434\u0430 API","version":"1.0.0"},"openapi":"3.0.3","paths":{"/balance":{"get":{"responses":{"200":{"description":"balance_tokens"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u0442 \u0438\u043b\u0438 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 (unauthorized)"}},"security":[{"bearerAuth":[]}],"summary":"\u0411\u0430\u043b\u0430\u043d\u0441 \u0442\u043e\u043a\u0435\u043d\u043e\u0432"}},"/batch":{"post":{"description":"\u041a\u0430\u0436\u0434\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u0438 \u043e\u043f\u043b\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e; \u043e\u0442\u0432\u0435\u0442 207 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u0439.","parameters":[{"description":"\u041f\u043e\u0432\u0442\u043e\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0441 \u0442\u0435\u043c \u0436\u0435 \u043a\u043b\u044e\u0447\u043e\u043c \u0432\u0435\u0440\u043d\u0451\u0442 \u0442\u0443 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \u043d\u0435 \u0441\u043f\u0438\u0448\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u044b \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":120,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchRequest"}}},"required":true},"responses":{"207":{"description":"results[]: job \u0438\u043b\u0438 error \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 (invalid_request)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u0442 \u0438\u043b\u0438 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 (unauthorized)"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 (insufficient_balance)"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (rate_limited), \u0441\u043c. \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a Retry-After"}},"security":[{"bearerAuth":[]}],"summary":"\u041f\u0430\u043a\u0435\u0442 \u0434\u043e 100 \u0437\u0430\u0434\u0430\u0447"}},"/estimate":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EstimateRequest"}}},"required":true},"responses":{"200":{"description":"cost_tokens, balance_tokens, enough"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 (invalid_request)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u0442 \u0438\u043b\u0438 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 (unauthorized)"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 (insufficient_balance)"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (rate_limited), \u0441\u043c. \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a Retry-After"}},"security":[{"bearerAuth":[]}],"summary":"\u0421\u043c\u0435\u0442\u0430 \u0431\u0435\u0437 \u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f"}},"/images":{"post":{"description":"\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043f\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0438\u043b\u0438 \u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: result.images[].url.","parameters":[{"description":"\u0416\u0434\u0430\u0442\u044c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0434\u043e N \u0441\u0435\u043a\u0443\u043d\u0434 (\u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 55): \u043e\u0442\u0432\u0435\u0442 200 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c, \u0435\u0441\u043b\u0438 \u0443\u0441\u043f\u0435\u043b\u0438, \u0438\u043d\u0430\u0447\u0435 202.","in":"query","name":"wait","required":false,"schema":{"maximum":55,"type":"number"}},{"description":"\u041f\u043e\u0432\u0442\u043e\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0441 \u0442\u0435\u043c \u0436\u0435 \u043a\u043b\u044e\u0447\u043e\u043c \u0432\u0435\u0440\u043d\u0451\u0442 \u0442\u0443 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \u043d\u0435 \u0441\u043f\u0438\u0448\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u044b \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":120,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"\u0413\u043e\u0442\u043e\u0432\u043e (\u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d wait \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0443\u0441\u043f\u0435\u043b\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c\u0441\u044f)"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u0440\u0438\u043d\u044f\u0442\u0430"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 (invalid_request)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u0442 \u0438\u043b\u0438 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 (unauthorized)"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 (insufficient_balance)"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (rate_limited), \u0441\u043c. \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a Retry-After"}},"security":[{"bearerAuth":[]}],"summary":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438"}},"/jobs":{"get":{"parameters":[{"in":"query","name":"status","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"maximum":100,"type":"integer"}},{"in":"query","name":"before","schema":{"type":"string"}}],"responses":{"200":{"description":"object=list, data[], has_more"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 (invalid_request)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u0442 \u0438\u043b\u0438 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 (unauthorized)"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 (insufficient_balance)"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (rate_limited), \u0441\u043c. \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a Retry-After"}},"security":[{"bearerAuth":[]}],"summary":"\u0421\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0434\u0430\u0447"}},"/jobs/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"\u0416\u0434\u0430\u0442\u044c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0434\u043e N \u0441\u0435\u043a\u0443\u043d\u0434 (\u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 55): \u043e\u0442\u0432\u0435\u0442 200 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c, \u0435\u0441\u043b\u0438 \u0443\u0441\u043f\u0435\u043b\u0438, \u0438\u043d\u0430\u0447\u0435 202.","in":"query","name":"wait","required":false,"schema":{"maximum":55,"type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"\u0417\u0430\u0434\u0430\u0447\u0430"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"\u0415\u0449\u0451 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430"}},"security":[{"bearerAuth":[]}],"summary":"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438"}},"/jobs/{id}/cancel":{"post":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"\u0417\u0430\u0434\u0430\u0447\u0430"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f (conflict)"}},"security":[{"bearerAuth":[]}],"summary":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443"}},"/models":{"get":{"responses":{"200":{"description":"image, video, music, text, limits"}},"summary":"\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a (\u0431\u0435\u0437 \u043a\u043b\u044e\u0447\u0430)"}},"/music":{"post":{"description":"\u041f\u0435\u0441\u043d\u044f (\u0442\u0435\u043a\u0441\u0442 \u043f\u0438\u0448\u0435\u0442 Claude \u0438\u043b\u0438 \u0441\u0432\u043e\u0439 lyrics) \u0438\u043b\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u043b. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: result.tracks[].","parameters":[{"description":"\u0416\u0434\u0430\u0442\u044c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0434\u043e N \u0441\u0435\u043a\u0443\u043d\u0434 (\u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 55): \u043e\u0442\u0432\u0435\u0442 200 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c, \u0435\u0441\u043b\u0438 \u0443\u0441\u043f\u0435\u043b\u0438, \u0438\u043d\u0430\u0447\u0435 202.","in":"query","name":"wait","required":false,"schema":{"maximum":55,"type":"number"}},{"description":"\u041f\u043e\u0432\u0442\u043e\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0441 \u0442\u0435\u043c \u0436\u0435 \u043a\u043b\u044e\u0447\u043e\u043c \u0432\u0435\u0440\u043d\u0451\u0442 \u0442\u0443 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \u043d\u0435 \u0441\u043f\u0438\u0448\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u044b \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":120,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"\u0413\u043e\u0442\u043e\u0432\u043e (\u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d wait \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0443\u0441\u043f\u0435\u043b\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c\u0441\u044f)"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u0440\u0438\u043d\u044f\u0442\u0430"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 (invalid_request)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u0442 \u0438\u043b\u0438 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 (unauthorized)"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 (insufficient_balance)"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (rate_limited), \u0441\u043c. \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a Retry-After"}},"security":[{"bearerAuth":[]}],"summary":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0435\u0441\u043d\u044e"}},"/text":{"post":{"description":"\u041e\u0442\u0432\u0435\u0442 Claude \u043d\u0430 prompt \u0438\u043b\u0438 \u0434\u0438\u0430\u043b\u043e\u0433 messages. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: result.text.","parameters":[{"description":"\u0416\u0434\u0430\u0442\u044c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0434\u043e N \u0441\u0435\u043a\u0443\u043d\u0434 (\u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 55): \u043e\u0442\u0432\u0435\u0442 200 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c, \u0435\u0441\u043b\u0438 \u0443\u0441\u043f\u0435\u043b\u0438, \u0438\u043d\u0430\u0447\u0435 202.","in":"query","name":"wait","required":false,"schema":{"maximum":55,"type":"number"}},{"description":"\u041f\u043e\u0432\u0442\u043e\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0441 \u0442\u0435\u043c \u0436\u0435 \u043a\u043b\u044e\u0447\u043e\u043c \u0432\u0435\u0440\u043d\u0451\u0442 \u0442\u0443 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \u043d\u0435 \u0441\u043f\u0438\u0448\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u044b \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":120,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"\u0413\u043e\u0442\u043e\u0432\u043e (\u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d wait \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0443\u0441\u043f\u0435\u043b\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c\u0441\u044f)"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u0440\u0438\u043d\u044f\u0442\u0430"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 (invalid_request)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u0442 \u0438\u043b\u0438 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 (unauthorized)"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 (insufficient_balance)"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (rate_limited), \u0441\u043c. \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a Retry-After"}},"security":[{"bearerAuth":[]}],"summary":"\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0435\u043a\u0441\u0442"}},"/videos":{"post":{"description":"\u0412\u0438\u0434\u0435\u043e \u043f\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0438\u043b\u0438 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u043e\u043c\u0443 \u043a\u0430\u0434\u0440\u0443. \u0413\u043e\u0442\u043e\u0432\u0438\u0442\u0441\u044f \u043c\u0438\u043d\u0443\u0442\u044b. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: result.video.url.","parameters":[{"description":"\u0416\u0434\u0430\u0442\u044c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0434\u043e N \u0441\u0435\u043a\u0443\u043d\u0434 (\u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 55): \u043e\u0442\u0432\u0435\u0442 200 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c, \u0435\u0441\u043b\u0438 \u0443\u0441\u043f\u0435\u043b\u0438, \u0438\u043d\u0430\u0447\u0435 202.","in":"query","name":"wait","required":false,"schema":{"maximum":55,"type":"number"}},{"description":"\u041f\u043e\u0432\u0442\u043e\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0441 \u0442\u0435\u043c \u0436\u0435 \u043a\u043b\u044e\u0447\u043e\u043c \u0432\u0435\u0440\u043d\u0451\u0442 \u0442\u0443 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \u043d\u0435 \u0441\u043f\u0438\u0448\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u044b \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":120,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"\u0413\u043e\u0442\u043e\u0432\u043e (\u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d wait \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0443\u0441\u043f\u0435\u043b\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c\u0441\u044f)"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}},"description":"\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u0440\u0438\u043d\u044f\u0442\u0430"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 (invalid_request)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435\u0442 \u0438\u043b\u0438 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 (unauthorized)"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 (insufficient_balance)"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (rate_limited), \u0441\u043c. \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a Retry-After"}},"security":[{"bearerAuth":[]}],"summary":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e"}}},"servers":[{"url":"https://maxom.io/api/v1"}]}
