{"openapi":"3.1.0","info":{"title":"Corent API","version":"0.1.0"},"paths":{"/v1/images/generate":{"post":{"summary":"Generate Image","operationId":"generate_image_v1_images_generate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageGenerateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/videos/generate":{"post":{"summary":"Generate Video","operationId":"generate_video_v1_videos_generate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoGenerateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/audio/speech":{"post":{"summary":"Generate Speech","operationId":"generate_speech_v1_audio_speech_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeechGenerateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/jobs/{job_id}":{"get":{"summary":"Get Job","operationId":"get_job_v1_jobs__job_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Job V1 Jobs  Job Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/jobs/{job_id}/webhook_deliveries":{"get":{"summary":"Get Webhook Deliveries","operationId":"get_webhook_deliveries_v1_jobs__job_id__webhook_deliveries_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Webhook Deliveries V1 Jobs  Job Id  Webhook Deliveries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/jobs/{job_id}/stream":{"get":{"summary":"Stream Job","operationId":"stream_job_v1_jobs__job_id__stream_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/routing/explain":{"get":{"summary":"Explain Routing","description":"Even for the account that owns this request, the response is tier-level\nonly. Corent is a hosted execution layer: we don't surface which provider\nor model actually ran, only what tier served it and why.","operationId":"explain_routing_v1_routing_explain_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"query","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Explain Routing V1 Routing Explain Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tiers":{"get":{"summary":"List Tiers","operationId":"list_tiers_v1_tiers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Tiers V1 Tiers Get"}}}}}}},"/v1/requests":{"get":{"summary":"List Requests","operationId":"list_requests_v1_requests_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO timestamp; returns requests created before it","title":"Before"},"description":"ISO timestamp; returns requests created before it"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Requests V1 Requests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/requests/{request_id}":{"get":{"summary":"Get Request","operationId":"get_request_v1_requests__request_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Request V1 Requests  Request Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/deposit":{"post":{"summary":"Create Deposit","operationId":"create_deposit_v1_account_deposit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/account/balance":{"get":{"summary":"Get Balance","operationId":"get_balance_v1_account_balance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BalanceResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/account/usage":{"get":{"summary":"Get Usage","operationId":"get_usage_v1_account_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Usage V1 Account Usage Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/account/api-keys":{"get":{"summary":"List Api Keys","operationId":"list_api_keys_v1_account_api_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response List Api Keys V1 Account Api Keys Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Create Api Key","operationId":"create_api_key_v1_account_api_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/account/api-keys/{key_id}":{"delete":{"summary":"Revoke Api Key","operationId":"revoke_api_key_v1_account_api_keys__key_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Api Key V1 Account Api Keys  Key Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/api-keys/{key_id}/limits":{"get":{"summary":"Get Api Key Limits","operationId":"get_api_key_limits_v1_account_api_keys__key_id__limits_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyLimitsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Api Key Limits","operationId":"update_api_key_limits_v1_account_api_keys__key_id__limits_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateApiKeyLimitsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyLimitsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/stripe":{"post":{"summary":"Stripe Webhook","operationId":"stripe_webhook_v1_webhooks_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Stripe Webhook V1 Webhooks Stripe Post"}}}}}}},"/v1/status":{"get":{"summary":"Tier Status","description":"Public, unauthenticated. Returns Corent tier names and their health only\n-- never provider names, latency numbers, or any other internal detail.\nOnly tiers with a real (non-placeholder) implementation are listed: the\nstatus page must never advertise capabilities that would 503.","operationId":"tier_status_v1_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Tier Status V1 Status Get"}}}}}}},"/v1/intent":{"post":{"summary":"Preview Intent","operationId":"preview_intent_v1_intent_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntentPreviewResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/intent/execute":{"post":{"summary":"Execute Intent","operationId":"execute_intent_v1_intent_execute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntentExecuteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntentExecuteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/studio/chat":{"post":{"summary":"Studio Chat","operationId":"studio_chat_v1_studio_chat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/images/generate/batch":{"post":{"summary":"Generate Image Batch","operationId":"generate_image_batch_v1_images_generate_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageBatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/videos/generate/batch":{"post":{"summary":"Generate Video Batch","operationId":"generate_video_batch_v1_videos_generate_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoBatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/batches/{batch_id}":{"get":{"summary":"Get Batch","operationId":"get_batch_v1_batches__batch_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Batch V1 Batches  Batch Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/demo/intent":{"post":{"summary":"Demo Intent","description":"Shows the routing brain without generating anything: returns the plan\nCorent would execute for this request. Costs us a fraction of a cent.","operationId":"demo_intent_v1_demo_intent_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoIntentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Demo Intent V1 Demo Intent Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/demo/generate":{"post":{"summary":"Demo Generate","description":"A real generation on the cheapest tier, billed to the house demo\naccount. Capped per visitor IP (MAX_GENERATIONS_PER_IP_PER_DAY) and by a\nwhole-demo daily spend ceiling on the house account.","operationId":"demo_generate_v1_demo_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoGenerateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Demo Generate V1 Demo Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/demo/route":{"post":{"summary":"Demo Route Xray","description":"The Router X-ray: runs the REAL prompt profiler and routing decision\nwithout generating anything, and returns a blinded view of the brain's\nwork -- anonymous candidate labels, per-prompt quality scores, the quality\nfloor, and the winner. Costs nothing (no provider call, no LLM), so the\nper-IP cap is generous. Candidate ids are salted hashes: stable across\nrequests (so the UI can animate reordering) but never a provider or model\nname.","operationId":"demo_route_xray_v1_demo_route_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoRouteXrayRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Demo Route Xray V1 Demo Route Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/account/deposit/crypto":{"post":{"summary":"Create Crypto Deposit","operationId":"create_crypto_deposit_v1_account_deposit_crypto_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoDepositRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoDepositResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/webhooks/nowpayments":{"post":{"summary":"Nowpayments Ipn","operationId":"nowpayments_ipn_v1_webhooks_nowpayments_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Nowpayments Ipn V1 Webhooks Nowpayments Post"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Health Get"}}}}}}}},"components":{"schemas":{"ApiKeyLimitsResponse":{"properties":{"requests_per_minute":{"type":"integer","title":"Requests Per Minute"},"concurrent_jobs":{"type":"integer","title":"Concurrent Jobs"},"daily_cost_cap_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Cost Cap Cents"}},"type":"object","required":["requests_per_minute","concurrent_jobs","daily_cost_cap_cents"],"title":"ApiKeyLimitsResponse"},"BalanceResponse":{"properties":{"balance_cents":{"type":"integer","title":"Balance Cents"}},"type":"object","required":["balance_cents"],"title":"BalanceResponse"},"CreateApiKeyRequest":{"properties":{"name":{"type":"string","title":"Name","default":"default"}},"type":"object","title":"CreateApiKeyRequest"},"CreateApiKeyResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"api_key":{"type":"string","title":"Api Key"}},"type":"object","required":["id","name","key_prefix","api_key"],"title":"CreateApiKeyResponse"},"CryptoDepositRequest":{"properties":{"amount_cents":{"type":"integer","maximum":500000.0,"minimum":1000.0,"title":"Amount Cents"},"success_url":{"type":"string","title":"Success Url","default":"https://corent.tech/dashboard?deposit=success"}},"type":"object","required":["amount_cents"],"title":"CryptoDepositRequest"},"CryptoDepositResponse":{"properties":{"checkout_url":{"type":"string","title":"Checkout Url"},"invoice_id":{"type":"string","title":"Invoice Id"}},"type":"object","required":["checkout_url","invoice_id"],"title":"CryptoDepositResponse"},"DemoGenerateRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"client_ip":{"type":"string","title":"Client Ip"},"turnstile_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Token"}},"type":"object","required":["prompt","client_ip"],"title":"DemoGenerateRequest"},"DemoIntentRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"client_ip":{"type":"string","title":"Client Ip"},"turnstile_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Token"}},"type":"object","required":["prompt","client_ip"],"title":"DemoIntentRequest"},"DemoRouteXrayRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"preference":{"type":"string","title":"Preference","default":"balanced"},"client_ip":{"type":"string","title":"Client Ip"},"turnstile_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Token"}},"type":"object","required":["prompt","client_ip"],"title":"DemoRouteXrayRequest"},"DepositRequest":{"properties":{"amount_cents":{"type":"integer","title":"Amount Cents"},"success_url":{"type":"string","title":"Success Url","default":"https://corent.tech/dashboard?deposit=success"},"cancel_url":{"type":"string","title":"Cancel Url","default":"https://corent.tech/dashboard?deposit=cancelled"}},"type":"object","required":["amount_cents"],"title":"DepositRequest"},"DepositResponse":{"properties":{"checkout_url":{"type":"string","title":"Checkout Url"}},"type":"object","required":["checkout_url"],"title":"DepositResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImageBatchItem":{"properties":{"prompt":{"type":"string","title":"Prompt"},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Style"},"preference":{"type":"string","title":"Preference","default":"balanced"},"aspect_ratio":{"type":"string","title":"Aspect Ratio","default":"1:1"}},"type":"object","required":["prompt"],"title":"ImageBatchItem"},"ImageBatchRequest":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ImageBatchItem"},"type":"array","maxItems":50,"minItems":1,"title":"Items"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"webhook_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Secret"}},"type":"object","required":["items"],"title":"ImageBatchRequest"},"ImageGenerateRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Style"},"preference":{"type":"string","title":"Preference","default":"balanced"},"aspect_ratio":{"type":"string","title":"Aspect Ratio","default":"1:1"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"webhook_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Secret"}},"type":"object","required":["prompt"],"title":"ImageGenerateRequest"},"IntentExecuteRequest":{"properties":{"intent":{"type":"string","title":"Intent"},"confirm_estimated_cost_cents_up_to":{"type":"integer","title":"Confirm Estimated Cost Cents Up To"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"webhook_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Secret"}},"type":"object","required":["intent","confirm_estimated_cost_cents_up_to"],"title":"IntentExecuteRequest"},"IntentExecuteResponse":{"properties":{"plan":{"$ref":"#/components/schemas/PlanPayload"},"estimated_cost_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Cost Cents"},"executed":{"type":"boolean","title":"Executed"},"actual_cost_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actual Cost Cents"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["plan","estimated_cost_cents","executed"],"title":"IntentExecuteResponse"},"IntentPreviewResponse":{"properties":{"plan":{"$ref":"#/components/schemas/PlanPayload"},"estimated_cost_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Cost Cents"}},"type":"object","required":["plan"],"title":"IntentPreviewResponse"},"IntentRequest":{"properties":{"intent":{"type":"string","title":"Intent"}},"type":"object","required":["intent"],"title":"IntentRequest"},"PlanPayload":{"properties":{"can_fulfill":{"type":"boolean","title":"Can Fulfill"},"reasoning":{"type":"string","title":"Reasoning"},"refusal_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refusal Reason"},"task_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Type"},"public_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Tier"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"aspect_ratio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aspect Ratio"},"quality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quality"},"speed":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speed"},"duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Seconds"}},"type":"object","required":["can_fulfill","reasoning"],"title":"PlanPayload"},"SpeechGenerateRequest":{"properties":{"text":{"type":"string","maxLength":5000,"minLength":1,"title":"Text"},"voice_id":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9]{8,64}$"},{"type":"null"}],"title":"Voice Id"}},"type":"object","required":["text"],"title":"SpeechGenerateRequest"},"StudioChatRequest":{"properties":{"messages":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":80,"minItems":1,"title":"Messages"},"budget_cents":{"type":"integer","maximum":2000.0,"minimum":1.0,"title":"Budget Cents","default":100}},"type":"object","required":["messages"],"title":"StudioChatRequest"},"UpdateApiKeyLimitsRequest":{"properties":{"requests_per_minute":{"type":"integer","maximum":600.0,"minimum":1.0,"title":"Requests Per Minute"},"concurrent_jobs":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Concurrent Jobs"},"daily_cost_cap_cents":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Daily Cost Cap Cents"}},"type":"object","required":["requests_per_minute","concurrent_jobs"],"title":"UpdateApiKeyLimitsRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VideoBatchItem":{"properties":{"prompt":{"type":"string","title":"Prompt"},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Style"},"preference":{"type":"string","title":"Preference","default":"balanced"},"aspect_ratio":{"type":"string","title":"Aspect Ratio","default":"16:9"},"duration_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration S"}},"type":"object","required":["prompt"],"title":"VideoBatchItem"},"VideoBatchRequest":{"properties":{"items":{"items":{"$ref":"#/components/schemas/VideoBatchItem"},"type":"array","maxItems":50,"minItems":1,"title":"Items"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"webhook_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Secret"}},"type":"object","required":["items"],"title":"VideoBatchRequest"},"VideoGenerateRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Style"},"preference":{"type":"string","title":"Preference","default":"balanced"},"aspect_ratio":{"type":"string","title":"Aspect Ratio","default":"16:9"},"duration_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration S"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"webhook_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Secret"}},"type":"object","required":["prompt"],"title":"VideoGenerateRequest"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}