{"openapi":"3.1.0","info":{"title":"Rise Studio Gateway","version":"1","description":"One schema-driven endpoint over every model, priced before it runs. Money is integer micro-USD as strings; every error is { error: { code, message } }."},"servers":[{"url":"/"}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"An API key — sk_… (master) or vk_… (virtual). A virtual key minted from Settings → Keys sees only its own work."}},"schemas":{"OutputManifest":{"type":"object","properties":{"version":{"type":"number","const":1},"kind":{"type":"string","const":"image_layers"},"source":{"type":"object","properties":{"job_id":{"type":"string","minLength":1,"maxLength":128},"attempt_version":{"type":"integer","minimum":0}},"required":["job_id","attempt_version"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_-]+$"},"role":{"type":"string","enum":["base","layer"]},"order":{"type":"integer","minimum":0},"z_index":{"type":"integer"},"name":{"type":"string","maxLength":256},"description":{"type":"string","maxLength":2000},"bounds":{"type":"object","properties":{"pixels":{"type":"object","properties":{"x":{"type":"integer","minimum":0},"y":{"type":"integer","minimum":0},"width":{"type":"integer","exclusiveMinimum":0},"height":{"type":"integer","exclusiveMinimum":0}},"required":["x","y","width","height"],"additionalProperties":false},"normalized":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1},"width":{"type":"number","exclusiveMinimum":0,"maximum":1},"height":{"type":"number","exclusiveMinimum":0,"maximum":1}},"required":["x","y","width","height"],"additionalProperties":false}},"additionalProperties":false},"transparency":{"type":"string","enum":["unknown","opaque","transparent"]},"source_input":{"type":"string","minLength":1,"maxLength":512,"pattern":"^(?:\\/(?:[^~]|~[01])*)+$"},"alpha":{"type":"object","properties":{"max":{"type":"integer","minimum":0,"maximum":255},"mean":{"type":"number","minimum":0,"maximum":255},"nonzero_fraction":{"type":"number","minimum":0,"maximum":1}},"required":["max","mean","nonzero_fraction"],"additionalProperties":false},"file_index":{"type":"integer","minimum":0},"url":{"type":"string","format":"uri"}},"required":["id","role","order","transparency","source_input","file_index","url"],"additionalProperties":false},"minItems":1,"maxItems":64}},"required":["version","kind","source","items"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["internal_error","canceled","invalid_input","insufficient_credits","spend_cap_exceeded","storage_quota_exceeded","model_unavailable","provider_not_connected","upstream_error","content_policy","rate_limited","credentials_rotating","not_found","link_expired","unauthorized","forbidden","conflict"]},"message":{"type":"string"}}}}},"Model":{"type":"object","required":["id","modality","display_name","price_hint","providers","input_schema","capabilities"],"properties":{"id":{"type":"string","enum":["flux/schnell","flux/dev","flux/2-pro","grok/imagine","gpt-image/2","qwen-image/3","qwen-image/3-pro","qwen-image/layered","seedream/5-pro","seedream/4.5","mai-image/2.5-pro","mai-image/2.5","mai-image/2.5-flash","nano-banana/2","nano-banana/2-lite","flux/2-klein","flux/kontext-pro","recraft/crisp-upscale","pruna/p-image-upscale","bria/product-holding","bria/remove-background","z-image/turbo","gpt-image/2.5-flare","gpt-image/2.5-sunburst","seedance/2.5","seedance/2.5-spicy","seedance/2.0","seedance/2.0-mini","kling/3.0-pro","kling/3.0-standard","kling/2.5-turbo-pro","veo/3.1","veo/3.1-fast","veo/3.1-lite","grok/video","grok/video-i2v","wan/3.0","wan/3.0-i2v","wan/2.5-fast","minimax/h3-max-turbo","minimax/h3-max","hailuo/2.3","wan/3.0-prime","wan/3.0-prime-i2v","seedance/2.5-turbo","kling/3.0-turbo","gemini-omni/1.1-flash","gemini-omni/1.1-flash-edit","grok/video-1.5","grok/video-1.5-i2v","pixverse/c1","omnihuman/1.5","minimax-music/1.5","minimax-music/3","elevenlabs/v3-tts","hunyuan-3d/3.1-text","hunyuan-3d/3.1-pro","trellis/image-to-3d","meshy/rigging"]},"modality":{"type":"string"},"display_name":{"type":"string"},"price_hint":{"type":"string"},"output_hint":{"type":"string"},"providers":{"type":"array","items":{"type":"string"}},"input_schema":{"type":"object"},"capabilities":{"type":"object"}}},"ModelList":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Model"}}}},"GenerationRequest":{"type":"object","required":["model","input"],"properties":{"model":{"type":"string","enum":["flux/schnell","flux/dev","flux/2-pro","grok/imagine","gpt-image/2","qwen-image/3","qwen-image/3-pro","qwen-image/layered","seedream/5-pro","seedream/4.5","mai-image/2.5-pro","mai-image/2.5","mai-image/2.5-flash","nano-banana/2","nano-banana/2-lite","flux/2-klein","flux/kontext-pro","recraft/crisp-upscale","pruna/p-image-upscale","bria/product-holding","bria/remove-background","z-image/turbo","gpt-image/2.5-flare","gpt-image/2.5-sunburst","seedance/2.5","seedance/2.5-spicy","seedance/2.0","seedance/2.0-mini","kling/3.0-pro","kling/3.0-standard","kling/2.5-turbo-pro","veo/3.1","veo/3.1-fast","veo/3.1-lite","grok/video","grok/video-i2v","wan/3.0","wan/3.0-i2v","wan/2.5-fast","minimax/h3-max-turbo","minimax/h3-max","hailuo/2.3","wan/3.0-prime","wan/3.0-prime-i2v","seedance/2.5-turbo","kling/3.0-turbo","gemini-omni/1.1-flash","gemini-omni/1.1-flash-edit","grok/video-1.5","grok/video-1.5-i2v","pixverse/c1","omnihuman/1.5","minimax-music/1.5","minimax-music/3","elevenlabs/v3-tts","hunyuan-3d/3.1-text","hunyuan-3d/3.1-pro","trellis/image-to-3d","meshy/rigging"]},"input":{"oneOf":[{"$ref":"#/components/schemas/input:flux/schnell"},{"$ref":"#/components/schemas/input:flux/dev"},{"$ref":"#/components/schemas/input:flux/2-pro"},{"$ref":"#/components/schemas/input:grok/imagine"},{"$ref":"#/components/schemas/input:gpt-image/2"},{"$ref":"#/components/schemas/input:qwen-image/3"},{"$ref":"#/components/schemas/input:qwen-image/3-pro"},{"$ref":"#/components/schemas/input:qwen-image/layered"},{"$ref":"#/components/schemas/input:seedream/5-pro"},{"$ref":"#/components/schemas/input:seedream/4.5"},{"$ref":"#/components/schemas/input:mai-image/2.5-pro"},{"$ref":"#/components/schemas/input:mai-image/2.5"},{"$ref":"#/components/schemas/input:mai-image/2.5-flash"},{"$ref":"#/components/schemas/input:nano-banana/2"},{"$ref":"#/components/schemas/input:nano-banana/2-lite"},{"$ref":"#/components/schemas/input:flux/2-klein"},{"$ref":"#/components/schemas/input:flux/kontext-pro"},{"$ref":"#/components/schemas/input:recraft/crisp-upscale"},{"$ref":"#/components/schemas/input:pruna/p-image-upscale"},{"$ref":"#/components/schemas/input:bria/product-holding"},{"$ref":"#/components/schemas/input:bria/remove-background"},{"$ref":"#/components/schemas/input:z-image/turbo"},{"$ref":"#/components/schemas/input:gpt-image/2.5-flare"},{"$ref":"#/components/schemas/input:gpt-image/2.5-sunburst"},{"$ref":"#/components/schemas/input:seedance/2.5"},{"$ref":"#/components/schemas/input:seedance/2.5-spicy"},{"$ref":"#/components/schemas/input:seedance/2.0"},{"$ref":"#/components/schemas/input:seedance/2.0-mini"},{"$ref":"#/components/schemas/input:kling/3.0-pro"},{"$ref":"#/components/schemas/input:kling/3.0-standard"},{"$ref":"#/components/schemas/input:kling/2.5-turbo-pro"},{"$ref":"#/components/schemas/input:veo/3.1"},{"$ref":"#/components/schemas/input:veo/3.1-fast"},{"$ref":"#/components/schemas/input:veo/3.1-lite"},{"$ref":"#/components/schemas/input:grok/video"},{"$ref":"#/components/schemas/input:grok/video-i2v"},{"$ref":"#/components/schemas/input:wan/3.0"},{"$ref":"#/components/schemas/input:wan/3.0-i2v"},{"$ref":"#/components/schemas/input:wan/2.5-fast"},{"$ref":"#/components/schemas/input:minimax/h3-max-turbo"},{"$ref":"#/components/schemas/input:minimax/h3-max"},{"$ref":"#/components/schemas/input:hailuo/2.3"},{"$ref":"#/components/schemas/input:wan/3.0-prime"},{"$ref":"#/components/schemas/input:wan/3.0-prime-i2v"},{"$ref":"#/components/schemas/input:seedance/2.5-turbo"},{"$ref":"#/components/schemas/input:kling/3.0-turbo"},{"$ref":"#/components/schemas/input:gemini-omni/1.1-flash"},{"$ref":"#/components/schemas/input:gemini-omni/1.1-flash-edit"},{"$ref":"#/components/schemas/input:grok/video-1.5"},{"$ref":"#/components/schemas/input:grok/video-1.5-i2v"},{"$ref":"#/components/schemas/input:pixverse/c1"},{"$ref":"#/components/schemas/input:omnihuman/1.5"},{"$ref":"#/components/schemas/input:minimax-music/1.5"},{"$ref":"#/components/schemas/input:minimax-music/3"},{"$ref":"#/components/schemas/input:elevenlabs/v3-tts"},{"$ref":"#/components/schemas/input:hunyuan-3d/3.1-text"},{"$ref":"#/components/schemas/input:hunyuan-3d/3.1-pro"},{"$ref":"#/components/schemas/input:trellis/image-to-3d"},{"$ref":"#/components/schemas/input:meshy/rigging"}],"description":"The schema depends on `model`; each is listed under components as input:<model id> and on GET /v1/models as input_schema."},"webhook_url":{"type":"string","format":"uri"},"prompt_trace":{"type":"object"}}},"Estimate":{"type":"object","required":["estimated_cost_micro_usd"],"properties":{"estimated_cost_micro_usd":{"type":"string","description":"Integer micro-USD as a string — the amount the generation would be held at"}}},"GenerationAccepted":{"type":"object","required":["job_id","status","billing_mode","estimated_cost_micro_usd"],"properties":{"job_id":{"type":"string"},"status":{"type":"string","enum":["queued"]},"billing_mode":{"type":"string","enum":["byok","managed"]},"estimated_cost_micro_usd":{"type":"string"}}},"GenerationReplayed":{"type":"object","required":["job_id","status","deduplicated"],"properties":{"job_id":{"type":"string"},"status":{"type":"string"},"deduplicated":{"type":"boolean","enum":[true]}}},"Job":{"type":"object","required":["id","model","input","status","estimated_cost_micro_usd","files","created_at"],"properties":{"id":{"type":"string"},"model":{"type":"string"},"input":{"type":"object"},"status":{"type":"string","enum":["queued","dispatched","running","succeeded","failed","canceled"]},"phase":{"oneOf":[{"type":"string"},{"type":"null"}]},"estimated_cost_micro_usd":{"type":"string"},"settled_cost_micro_usd":{"oneOf":[{"type":"string"},{"type":"null"}]},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","enum":["internal_error","canceled","invalid_input","insufficient_credits","spend_cap_exceeded","storage_quota_exceeded","model_unavailable","provider_not_connected","upstream_error","content_policy","rate_limited","credentials_rotating","not_found","link_expired","unauthorized","forbidden","conflict"]},"message":{"type":"string"}}},{"type":"null"}]},"refusal_reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"string","format":"uri"}},"thumbnail":{"oneOf":[{"type":"string","format":"uri"},{"type":"null"}]},"output_manifest":{"oneOf":[{"$ref":"#/components/schemas/OutputManifest"},{"type":"null"}]},"metadata":{"oneOf":[{"type":"object"},{"type":"null"}]},"member":{"oneOf":[{"type":"object"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"},"completed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null"}]}}},"JobList":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Job"}},"next_cursor":{"oneOf":[{"type":"string"},{"type":"null"}]}}},"Me":{"type":"object","description":"This key, its org, balance and spend","additionalProperties":true},"OpenApiDocument":{"type":"object","required":["openapi","info","paths","components"],"properties":{"openapi":{"type":"string","enum":["3.1.0"]},"info":{"type":"object"},"paths":{"type":"object"},"components":{"type":"object"}}},"input:flux/schnell":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000},"image_size":{"type":"string","enum":["square","square_hd","landscape_4_3","landscape_16_9","portrait_4_3","portrait_16_9"],"default":"landscape_4_3"},"num_images":{"type":"integer","minimum":1,"maximum":4,"default":1},"seed":{"type":"integer"},"go_fast":{"type":"boolean","default":true},"output_format":{"type":"string","enum":["webp","jpg","png"],"default":"webp"},"output_quality":{"type":"integer","minimum":1,"maximum":100,"default":80}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:flux/dev":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000},"image_size":{"type":"string","enum":["square","square_hd","landscape_4_3","landscape_16_9","portrait_4_3","portrait_16_9"],"default":"landscape_4_3"},"num_images":{"type":"integer","minimum":1,"maximum":4,"default":1},"seed":{"type":"integer"},"go_fast":{"type":"boolean","default":true},"output_format":{"type":"string","enum":["webp","jpg","png"],"default":"webp"},"output_quality":{"type":"integer","minimum":1,"maximum":100,"default":80},"disable_safety_checker":{"type":"boolean"},"image":{"type":"string","format":"uri"},"prompt_strength":{"type":"number","minimum":0,"maximum":1,"default":0.8},"num_inference_steps":{"type":"integer","minimum":1,"maximum":50,"default":28},"guidance":{"type":"number","minimum":0,"maximum":10,"default":3}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:flux/2-pro":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"image_size":{"type":"string","enum":["square","square_hd","landscape_4_3","landscape_16_9","portrait_4_3","portrait_16_9"],"default":"landscape_4_3"},"seed":{"type":"integer"},"output_format":{"type":"string","enum":["jpeg","png"],"default":"jpeg"},"safety_tolerance":{"type":"integer","minimum":1,"maximum":5,"default":2},"enable_safety_checker":{"type":"boolean","default":true}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:grok/imagine":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"image":{"type":"string","format":"uri"},"aspect_ratio":{"type":"string","enum":["auto","2:1","16:9","4:3","3:2","1:1","2:3","3:4","9:16","1:2"],"default":"1:1"},"resolution":{"type":"string","enum":["1k","2k"],"default":"1k"},"quality":{"type":"string","enum":["low","medium"],"default":"medium"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:gpt-image/2":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":32000},"num_images":{"type":"integer","minimum":1,"maximum":10,"default":1},"quality":{"type":"string","enum":["low","medium","high"],"default":"medium"},"aspect_ratio":{"type":"string","enum":["auto","1:1","3:2","2:3","4:3","3:4","16:9","9:16"],"default":"auto"},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":16},"output_format":{"type":"string","enum":["png","jpeg","webp"],"default":"png"},"moderation":{"type":"string","enum":["auto","low"],"default":"auto"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:qwen-image/3":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":800},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":3},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","1:2","2:1","1:3","3:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","9:21","21:9"],"default":"1:1"},"resolution":{"type":"string","enum":["1k","2k"],"default":"1k"},"enable_prompt_expansion":{"type":"boolean","default":true},"seed":{"type":"integer","minimum":-1,"maximum":2147483647,"default":-1}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:qwen-image/3-pro":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":800},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":3},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","1:2","2:1","1:3","3:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","9:21","21:9"],"default":"1:1"},"resolution":{"type":"string","enum":["1k","2k"],"default":"1k"},"enable_prompt_expansion":{"type":"boolean","default":true},"seed":{"type":"integer","minimum":-1,"maximum":2147483647,"default":-1}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:qwen-image/layered":{"type":"object","properties":{"image":{"type":"string","format":"uri","description":"The source image to decompose into layers"},"prompt":{"type":"string","description":"Optional description of the image content to guide layer separation"},"num_layers":{"type":"integer","minimum":2,"maximum":8,"default":4}},"required":["image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:seedream/5-pro":{"type":"object","properties":{"prompt":{"type":"string","minLength":1},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":10},"aspect_ratio":{"type":"string","enum":["1:1","1:2","2:1","1:3","3:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","9:21","21:9"],"default":"1:1"},"resolution":{"type":"string","enum":["1k","1.5k","2k"],"default":"1k"},"output_format":{"type":"string","enum":["jpeg","png"],"default":"jpeg"},"prompt_optimization_mode":{"type":"string","enum":["standard","fast"],"default":"standard"},"enable_safety_checker":{"type":"boolean","default":true}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:seedream/4.5":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"size":{"type":"string","enum":["2K","4K"],"default":"2K"},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","4:3","3:4","16:9","9:16","3:2","2:3","21:9"],"default":"1:1"},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":14},"max_images":{"type":"integer","minimum":1,"maximum":15,"default":1},"disable_safety_checker":{"type":"boolean","default":true}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:mai-image/2.5-pro":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":20000},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":1},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"default":"1:1"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:mai-image/2.5":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":20000},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":1},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"default":"1:1"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:mai-image/2.5-flash":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":20000},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":1},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"default":"1:1"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:nano-banana/2":{"type":"object","properties":{"prompt":{"type":"string","minLength":1},"resolution":{"type":"string","enum":["1K","2K","4K"],"default":"1K"},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"default":"1:1"},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":14},"output_format":{"type":"string","enum":["jpg","png"],"default":"jpg"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:nano-banana/2-lite":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":14},"aspect_ratio":{"type":"string","enum":["auto","1:1","3:2","2:3","3:4","4:3","4:5","5:4","9:16","16:9"],"default":"auto"},"output_format":{"type":"string","enum":["jpeg","png","webp"],"default":"jpeg"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:flux/2-klein":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":3},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"default":"1:1"},"output_format":{"type":"string","enum":["jpeg","png","webp"],"default":"jpeg"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:flux/kontext-pro":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":1},"aspect_ratio":{"type":"string","enum":["match_input_image","1:1","16:9","9:16","4:3","3:4","3:2","2:3","21:9","9:21"],"default":"match_input_image"},"output_format":{"type":"string","enum":["jpeg","png"],"default":"jpeg"},"safety_tolerance":{"type":"integer","minimum":0,"maximum":6,"default":2}},"required":["prompt","image_input"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:recraft/crisp-upscale":{"type":"object","properties":{"image":{"type":"string","format":"uri"}},"required":["image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:pruna/p-image-upscale":{"type":"object","properties":{"image":{"type":"string","format":"uri","description":"The source image to upscale"},"target":{"type":"integer","minimum":1,"maximum":16,"default":4,"description":"Target output size in megapixels. Studio supports 1–16 MP."},"output_format":{"type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:bria/product-holding":{"type":"object","properties":{"person_image":{"type":"string","format":"uri","description":"Person photo to edit; choose a clear view of the person and their hands."},"product_images":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":3,"description":"One to three product photos: packaging, another angle, or a companion item. Separate from the person photo."},"prompt":{"type":"string","description":"Optional direction: which hand holds the product, how it is carried, or where the logo faces."},"aspect_ratio":{"type":"string","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9"],"description":"Optional output aspect ratio. Leave unset to keep the person photo’s aspect ratio."},"seed":{"type":"integer","default":5555,"description":"Random seed for reproducibility. Defaults to 5555."}},"required":["person_image","product_images"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:bria/remove-background":{"type":"object","properties":{"image":{"type":"string","format":"uri","description":"Image to cut out onto a transparent background."}},"required":["image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:z-image/turbo":{"type":"object","properties":{"prompt":{"type":"string","minLength":1},"size":{"type":"string","enum":["1024*1024","1280*720","720*1280","1536*1024","1024*1536","1024*768","768*1024"],"default":"1024*1024"},"enable_safety_checker":{"type":"boolean","default":false},"seed":{"type":"integer"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:gpt-image/2.5-flare":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":32000},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":16},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16"],"default":"1:1"},"quality":{"type":"string","enum":["low","medium"],"default":"medium"},"output_format":{"type":"string","enum":["png","jpeg","webp"],"default":"png"},"background":{"type":"string","enum":["auto","opaque","transparent"],"description":"Transparent output requires PNG or WebP. Explicit background choices use AtlasCloud; inspect the generated alpha before replacing a layer."},"moderation":{"type":"string","enum":["auto","low"],"default":"auto"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:gpt-image/2.5-sunburst":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":32000},"image_input":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":16},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16"],"default":"1:1"},"quality":{"type":"string","enum":["low","medium"],"default":"medium"},"output_format":{"type":"string","enum":["png","jpeg","webp"],"default":"png"},"background":{"type":"string","enum":["auto","opaque","transparent"],"description":"Transparent output requires PNG or WebP. Explicit background choices use AtlasCloud; inspect the generated alpha before replacing a layer."},"moderation":{"type":"string","enum":["auto","low"],"default":"auto"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:seedance/2.5":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"aspect_ratio":{"type":"string","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"adaptive"},"image":{"type":"string","format":"uri"},"last_frame_image":{"type":"string","format":"uri"},"generate_audio":{"type":"boolean","default":true},"seed":{"type":"integer"},"duration":{"type":"integer","minimum":2,"maximum":30,"default":5},"resolution":{"type":"string","enum":["480p","720p"],"default":"720p"},"reference_images":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":30},"reference_videos":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"description":"30s of video combined"},"reference_audios":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"description":"30s of audio combined"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:seedance/2.5-spicy":{"type":"object","properties":{"image":{"type":"string","format":"uri"},"prompt":{"type":"string","maxLength":4000},"last_image":{"type":"string","format":"uri"},"duration":{"type":"integer","minimum":4,"maximum":15,"default":5},"resolution":{"type":"string","enum":["480p","720p","1080p","4k"],"default":"720p"},"generate_audio":{"type":"boolean","default":true},"seed":{"type":"integer"}},"required":["image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:seedance/2.0":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"aspect_ratio":{"type":"string","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"16:9"},"image":{"type":"string","format":"uri"},"last_frame_image":{"type":"string","format":"uri"},"generate_audio":{"type":"boolean","default":true},"seed":{"type":"integer"},"duration":{"type":"integer","minimum":2,"maximum":15,"default":5},"resolution":{"type":"string","enum":["480p","720p","1080p","4k"],"default":"720p"},"reference_images":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":9},"reference_videos":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":3,"description":"15s of video combined"},"reference_audios":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":3,"description":"15s of audio combined"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:seedance/2.0-mini":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"image":{"type":"string","format":"uri"},"last_frame_image":{"type":"string","format":"uri"},"duration":{"type":"integer","minimum":4,"maximum":14,"default":5},"resolution":{"type":"string","enum":["480p","720p","1080p"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"adaptive"},"generate_audio":{"type":"boolean","default":true},"seed":{"type":"integer"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:kling/3.0-pro":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2500},"multi_prompt":{"type":"array","items":{"type":"object","properties":{"prompt":{"type":"string","minLength":1},"duration":{"type":"integer","minimum":1,"maximum":15}},"required":["prompt","duration"],"additionalProperties":false},"minItems":1,"maxItems":6},"elements":{"type":"array","items":{"type":"object","properties":{"frontal_image_url":{"type":"string","format":"uri"},"reference_image_urls":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":3}},"required":["frontal_image_url","reference_image_urls"],"additionalProperties":false},"minItems":1},"start_image":{"type":"string","format":"uri"},"end_image":{"type":"string","format":"uri"},"duration":{"type":"integer","minimum":3,"maximum":15,"default":5},"generate_audio":{"type":"boolean","default":true},"shot_type":{"type":"string","enum":["customize","intelligent"],"default":"customize"},"negative_prompt":{"type":"string","maxLength":2500},"guidance_scale":{"type":"number","minimum":0,"maximum":1,"default":0.5}},"required":["start_image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:kling/3.0-standard":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2500},"multi_prompt":{"type":"array","items":{"type":"object","properties":{"prompt":{"type":"string","minLength":1},"duration":{"type":"integer","minimum":1,"maximum":15}},"required":["prompt","duration"],"additionalProperties":false},"minItems":1,"maxItems":6},"elements":{"type":"array","items":{"type":"object","properties":{"frontal_image_url":{"type":"string","format":"uri"},"reference_image_urls":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":3}},"required":["frontal_image_url","reference_image_urls"],"additionalProperties":false},"minItems":1},"start_image":{"type":"string","format":"uri"},"end_image":{"type":"string","format":"uri"},"duration":{"type":"integer","minimum":3,"maximum":15,"default":5},"generate_audio":{"type":"boolean","default":true},"shot_type":{"type":"string","enum":["customize","intelligent"],"default":"customize"},"negative_prompt":{"type":"string","maxLength":2500},"guidance_scale":{"type":"number","minimum":0,"maximum":1,"default":0.5}},"required":["start_image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:kling/2.5-turbo-pro":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2500},"duration":{"type":"number","enum":[5,10],"default":5},"aspect_ratio":{"type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"start_image":{"type":"string","format":"uri"},"end_image":{"type":"string","format":"uri"},"negative_prompt":{"type":"string","maxLength":2500}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:veo/3.1":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"image":{"type":"string","format":"uri"},"last_frame":{"type":"string","format":"uri"},"negative_prompt":{"type":"string","maxLength":2000},"duration":{"type":"number","enum":[4,6,8],"default":8},"aspect_ratio":{"type":"string","enum":["16:9","9:16"],"default":"16:9"},"resolution":{"type":"string","enum":["720p","1080p"],"default":"1080p"},"generate_audio":{"type":"boolean","default":true},"seed":{"type":"integer"},"reference_images":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":3}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:veo/3.1-fast":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"image":{"type":"string","format":"uri"},"last_frame":{"type":"string","format":"uri"},"negative_prompt":{"type":"string","maxLength":2000},"duration":{"type":"number","enum":[4,6,8],"default":8},"aspect_ratio":{"type":"string","enum":["16:9","9:16"],"default":"16:9"},"resolution":{"type":"string","enum":["720p","1080p"],"default":"1080p"},"generate_audio":{"type":"boolean","default":true},"seed":{"type":"integer"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:veo/3.1-lite":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"image":{"type":"string","format":"uri"},"last_frame":{"type":"string","format":"uri"},"duration":{"type":"number","enum":[4,6,8],"default":8},"aspect_ratio":{"type":"string","enum":["16:9","9:16"],"default":"16:9"},"resolution":{"type":"string","enum":["720p","1080p"],"default":"720p"},"seed":{"type":"integer"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:grok/video":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"duration":{"type":"integer","minimum":1,"maximum":15,"default":6},"resolution":{"type":"string","enum":["480p","720p"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["auto","16:9","4:3","3:2","1:1","2:3","3:4","9:16"],"default":"auto"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:grok/video-i2v":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"duration":{"type":"integer","minimum":1,"maximum":15,"default":6},"resolution":{"type":"string","enum":["480p","720p"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["auto","16:9","4:3","3:2","1:1","2:3","3:4","9:16"],"default":"auto"},"image":{"type":"string","format":"uri"}},"required":["prompt","image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:wan/3.0":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"duration":{"type":"integer","minimum":3,"maximum":30,"default":5},"resolution":{"type":"string","enum":["480p","720p","1080p"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["adaptive","16:9","4:3","1:1","3:4","9:16"],"default":"adaptive"},"audio":{"type":"boolean","default":true},"enable_prompt_expansion":{"type":"boolean","default":true},"enable_safety_checker":{"type":"boolean","default":true},"seed":{"type":"integer"},"reference_images":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":10},"reference_videos":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"description":"15s of video combined"},"reference_audios":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"description":"15s of audio combined"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:wan/3.0-i2v":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"duration":{"type":"integer","minimum":3,"maximum":30,"default":5},"resolution":{"type":"string","enum":["480p","720p","1080p"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["adaptive","16:9","4:3","1:1","3:4","9:16"],"default":"adaptive"},"audio":{"type":"boolean","default":true},"enable_prompt_expansion":{"type":"boolean","default":true},"enable_safety_checker":{"type":"boolean","default":true},"seed":{"type":"integer"},"image":{"type":"string","format":"uri"},"end_image":{"type":"string","format":"uri"}},"required":["prompt","image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:wan/2.5-fast":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"negative_prompt":{"type":"string","maxLength":2000},"duration":{"type":"number","enum":[5,10],"default":5},"resolution":{"type":"string","enum":["720p","1080p"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["16:9","9:16"],"default":"16:9"},"audio":{"type":"string","format":"uri"},"enable_prompt_expansion":{"type":"boolean","default":true},"seed":{"type":"integer"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:minimax/h3-max-turbo":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":50000},"duration":{"type":"integer","minimum":5,"maximum":15,"default":5},"resolution":{"type":"string","enum":["480p","768p","1080p"],"default":"768p"},"aspect_ratio":{"type":"string","enum":["21:9","16:9","4:3","1:1","3:4","9:16"],"default":"16:9"},"image":{"type":"string","format":"uri"},"end_image":{"type":"string","format":"uri"},"prompt_expansion_mode":{"type":"string","enum":["disabled","balanced","quality"],"default":"balanced"},"enable_safety_checker":{"type":"boolean","default":true},"seed":{"type":"integer"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:minimax/h3-max":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":50000},"duration":{"type":"integer","minimum":5,"maximum":15,"default":5},"resolution":{"type":"string","enum":["480p","768p","1080p"],"default":"768p"},"aspect_ratio":{"type":"string","enum":["21:9","16:9","4:3","1:1","3:4","9:16"],"default":"16:9"},"image":{"type":"string","format":"uri"},"end_image":{"type":"string","format":"uri"},"reference_images":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":9},"prompt_expansion_mode":{"type":"string","enum":["disabled","balanced","quality"],"default":"balanced"},"enable_safety_checker":{"type":"boolean","default":true},"seed":{"type":"integer"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:hailuo/2.3":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000},"duration":{"type":"number","enum":[6,10],"default":6},"resolution":{"type":"string","enum":["768p","1080p"],"default":"768p"},"first_frame_image":{"type":"string","format":"uri"},"prompt_optimizer":{"type":"boolean","default":false}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:wan/3.0-prime":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"duration":{"type":"integer","minimum":2,"maximum":30,"default":5},"resolution":{"type":"string","enum":["480p","720p","1080p"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["adaptive","16:9","4:3","1:1","3:4","9:16"],"default":"adaptive"},"audio":{"type":"boolean","default":true},"enable_prompt_expansion":{"type":"boolean","default":true},"enable_safety_checker":{"type":"boolean","default":true},"seed":{"type":"integer","minimum":0,"maximum":2147483647},"reference_images":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":10},"reference_videos":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"description":"15s of video combined"},"reference_audios":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"description":"15s of audio combined"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:wan/3.0-prime-i2v":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"duration":{"type":"integer","minimum":2,"maximum":30,"default":5},"resolution":{"type":"string","enum":["480p","720p","1080p"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["adaptive","16:9","4:3","1:1","3:4","9:16"],"default":"adaptive"},"audio":{"type":"boolean","default":true},"enable_prompt_expansion":{"type":"boolean","default":true},"enable_safety_checker":{"type":"boolean","default":true},"seed":{"type":"integer","minimum":0,"maximum":2147483647},"image":{"type":"string","format":"uri"},"end_image":{"type":"string","format":"uri"}},"required":["prompt","image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:seedance/2.5-turbo":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"aspect_ratio":{"type":"string","enum":["16:9","4:3","1:1","3:4","9:16","21:9"],"default":"16:9"},"duration":{"type":"integer","minimum":4,"maximum":30,"default":5},"resolution":{"type":"string","enum":["720p","1080p"],"default":"720p"},"image":{"type":"string","format":"uri"},"last_frame_image":{"type":"string","format":"uri"},"generate_audio":{"type":"boolean","default":true},"reference_images":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":30},"reference_audios":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"description":"30s of audio combined"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:kling/3.0-turbo":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2500},"multi_prompt":{"type":"array","items":{"type":"object","properties":{"prompt":{"type":"string","minLength":1},"duration":{"type":"integer","minimum":1,"maximum":15}},"required":["prompt","duration"],"additionalProperties":false},"minItems":1,"maxItems":6},"start_image":{"type":"string","format":"uri"},"duration":{"type":"integer","minimum":3,"maximum":15,"default":5},"aspect_ratio":{"type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"resolution":{"type":"string","enum":["720p","1080p"],"default":"1080p"},"guidance_scale":{"type":"number","minimum":0,"maximum":1,"default":0.5}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:gemini-omni/1.1-flash":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"duration":{"type":"integer","minimum":3,"maximum":10,"default":8},"resolution":{"type":"string","enum":["360p","720p","1080p","4k"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["16:9","9:16"],"default":"16:9"},"image":{"type":"string","format":"uri"},"last_frame":{"type":"string","format":"uri"},"reference_images":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":10},"reference_videos":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":3,"description":"3s of video each"},"seed":{"type":"integer"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:gemini-omni/1.1-flash-edit":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"video":{"type":"string","format":"uri"},"resolution":{"type":"string","enum":["360p","720p","1080p","4k"],"default":"720p"},"duration":{"type":"integer","minimum":3,"maximum":10,"default":10,"description":"Deprecated: verified source timing determines billing; this field is ignored"}},"required":["prompt","video"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:grok/video-1.5":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"duration":{"type":"integer","minimum":1,"maximum":15,"default":6},"resolution":{"type":"string","enum":["480p","720p","1080p"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["16:9","4:3","3:2","1:1","2:3","3:4","9:16"],"default":"16:9"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:grok/video-1.5-i2v":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"duration":{"type":"integer","minimum":1,"maximum":15,"default":6},"resolution":{"type":"string","enum":["480p","720p","1080p"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["auto","16:9","4:3","3:2","1:1","2:3","3:4","9:16"],"default":"auto"},"image":{"type":"string","format":"uri"},"reference_images":{"type":"array","items":{"type":"string","format":"uri"},"minItems":1,"maxItems":7}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:pixverse/c1":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2048},"image":{"type":"string","format":"uri"},"duration":{"type":"integer","minimum":1,"maximum":15,"default":5},"resolution":{"type":"string","enum":["360p","540p","720p","1080p"],"default":"720p"},"aspect_ratio":{"type":"string","enum":["16:9","4:3","1:1","3:4","9:16","2:3","3:2","21:9"],"default":"16:9"},"generate_audio":{"type":"boolean","default":false},"seed":{"type":"integer"}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:omnihuman/1.5":{"type":"object","properties":{"image":{"type":"string","format":"uri","description":"portrait of the person to animate; one clear, front-facing face"},"audio":{"type":"string","format":"uri","description":"driving speech or singing (mp3/wav); the video runs its length"},"prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"Optional hint for action, scene or expression — the voice comes from the audio track"},"resolution":{"type":"string","enum":["720p","1080p"],"default":"1080p"},"duration":{"type":"integer","minimum":1,"maximum":60,"default":15,"description":"Deprecated: actual audio controls length; duration does not affect billing"},"seed":{"type":"integer"}},"required":["image","audio"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:minimax-music/1.5":{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":300},"lyrics":{"type":"string","minLength":10,"maxLength":600},"audio_format":{"type":"string","enum":["mp3","wav"],"default":"mp3"}},"required":["prompt","lyrics"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:minimax-music/3":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000},"lyrics":{"type":"string","minLength":10,"maxLength":3000},"duration":{"type":"number","minimum":10,"maximum":300,"default":60},"seed":{"type":"integer"}},"required":["prompt","lyrics"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:elevenlabs/v3-tts":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":5000},"voice":{"type":"string","enum":["hpp4J3VqNfWAUOO0d1Us","CwhRBWXzGAHq8TQ4Fs17","EXAVITQu4vr4xnSDxMaL","FGY2WhTYpPnrIDTdsKH5","IKne3meq5aSn9XLyUdCD","JBFqnCBsd6RMkjVDRZzb","N2lVS1w4EtoT3dr4eOWO","SAz9YHcvj6GT2YYXdXww","SOYHLrjzK2X1ezoPC6cr","TX3LPaxmHKxFdv7VOQHJ","Xb7hH8MSUJpSbSDYk0k2","XrExE9yKIg1WjnnlVkGX","bIHbv24MWmeRgasZH58o","cgSgspJ2msm6clMCkdW9","cjVigY5qzO86Huf0OWal","iP95p4xoKVk53GoZ742B","nPczCjzI2devNBz1zQrb","onwK4e9ZLuTAKqWW03F9","pFZP5JQG7iQjIQuC4Bku","pNInz6obpgDQGcFmaJgB","pqHfZKP75CvOlQylNhV4"],"default":"hpp4J3VqNfWAUOO0d1Us"},"language_code":{"type":"string","pattern":"^[a-z]{2,3}(-[A-Z]{2})?$"},"stability":{"type":"number","minimum":0,"maximum":1,"default":0.5},"apply_text_normalization":{"type":"string","enum":["auto","on","off"],"default":"auto"}},"required":["text"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:hunyuan-3d/3.1-text":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":1024},"generate_type":{"type":"string","enum":["Normal","LowPoly","Geometry"],"default":"Normal"},"polygon_type":{"type":"string","enum":["triangle","quadrilateral"]},"enable_pbr":{"type":"boolean","default":false},"face_count":{"type":"integer","minimum":40000,"maximum":1500000}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:hunyuan-3d/3.1-pro":{"type":"object","properties":{"image":{"type":"string","format":"uri"},"back_image":{"type":"string","format":"uri"},"left_image":{"type":"string","format":"uri"},"right_image":{"type":"string","format":"uri"},"top_image":{"type":"string","format":"uri"},"bottom_image":{"type":"string","format":"uri"},"left_front_image":{"type":"string","format":"uri"},"right_front_image":{"type":"string","format":"uri"},"generate_type":{"type":"string","enum":["Normal","Geometry"],"default":"Normal"},"enable_pbr":{"type":"boolean","default":false},"face_count":{"type":"integer","minimum":40000,"maximum":1500000}},"required":["image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:trellis/image-to-3d":{"type":"object","properties":{"image":{"type":"string","format":"uri"},"texture_size":{"type":"string","enum":["512","1024","2048"],"default":"1024"},"mesh_simplify":{"type":"number","minimum":0.9,"maximum":0.98,"default":0.95},"seed":{"type":"integer"}},"required":["image"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"input:meshy/rigging":{"type":"object","properties":{"mesh":{"type":"string","format":"uri"},"enable_animation":{"type":"boolean","default":false}},"required":["mesh"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}}},"paths":{"/v1/models":{"get":{"summary":"Every callable model with its input schema, price hint, providers and capabilities","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelList"}}}},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/models/latency":{"get":{"summary":"Recent p50 latency per model","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/estimates":{"post":{"summary":"The cost this request would be held at, on the book the generation will use","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Estimate"}}}},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"503","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationRequest"}}}}}},"/v1/generations":{"post":{"summary":"Submit a generation — a hold is placed, a job is queued","parameters":[],"responses":{"200":{"description":"Replayed — the same Idempotency-Key with the same body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationReplayed"}}}},"202":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationAccepted"}}}},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"402","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"403","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"409","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"503","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationRequest"}}}},"x-paid":true}},"/v1/jobs":{"get":{"summary":"Jobs this key may see, newest first","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobList"}}}},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/jobs/{id}":{"get":{"summary":"One job","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]},"delete":{"summary":"Delete a job and its files — 409 while a scene or asset still references it (force=true overrides)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/jobs/{id}/trace":{"get":{"summary":"The prompt trace behind a job","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/jobs/{id}/cancel":{"post":{"summary":"Cancel a live job; the hold is refunded","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/jobs/{id}/nsfw":{"post":{"summary":"Mark a job's output","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/jobs/{id}/files/{index}/url":{"get":{"summary":"A fresh signed URL for one output","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/files/{jobId}/{name}":{"get":{"summary":"One output, by job and name","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/ledger":{"get":{"summary":"Ledger entries this key may see","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/usage":{"get":{"summary":"Spend for this key","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/me":{"get":{"summary":"This key, its org, balance and spend","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Me"}}}},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]},"patch":{"summary":"Update preferences on this key","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/team":{"get":{"summary":"The workspace roster","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/realtime/ticket":{"post":{"summary":"A short-lived ticket for the realtime socket","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/realtime":{"get":{"summary":"Upgrade to the realtime socket (ticket in the query)","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/operations/{kind}/{key}":{"get":{"summary":"Recover a pending operation by its idempotency key","parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/prompts/assist":{"post":{"summary":"Prompt intelligence — a paid LLM call on a connected provider","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}],"x-paid":true}},"/v1/uploads":{"get":{"summary":"Uploaded media, newest first","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]},"post":{"summary":"Upload media","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]},"delete":{"summary":"Delete an upload — refused while referenced","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/uploads/url":{"get":{"summary":"A fresh signed URL for an upload","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/uploads/snapshot":{"post":{"summary":"Copy a readable signed URL into this workspace","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/assets":{"get":{"summary":"Assets (characters, sets, styles)","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]},"put":{"summary":"Create or version an asset","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/assets/{id}/ref-url":{"get":{"summary":"A fresh signed URL for an asset's reference media","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/assets/{id}/restore":{"post":{"summary":"Restore a deleted asset","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/assets/{id}":{"delete":{"summary":"Delete an asset","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/scenes":{"get":{"summary":"Scenes","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]},"post":{"summary":"Create a scene","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/scenes/{id}":{"get":{"summary":"One scene","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]},"put":{"summary":"Save a scene (revision-checked)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]},"delete":{"summary":"Delete a scene","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/scenes/{id}/share":{"post":{"summary":"Mint or reuse a public share link","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]},"delete":{"summary":"Revoke the share link","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/sheets":{"get":{"summary":"Cast and costume sheets","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]},"put":{"summary":"Save a sheet","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/sheets/{id}":{"delete":{"summary":"Delete a sheet","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/projects":{"get":{"summary":"Projects","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]},"post":{"summary":"Create a project","parameters":[],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/projects/{id}":{"patch":{"summary":"Rename or archive a project","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/storyboards/{boardId}/apply-panel":{"put":{"summary":"Apply a storyboard panel to its linked scene","parameters":[{"name":"boardId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response shape not yet documented — see openapi.test.ts for the pinned count.","x-undocumented-response":true},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearer":[]}]}},"/v1/openapi.json":{"get":{"summary":"This document","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenApiDocument"}}}},"400":{"description":"400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"429","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[]}}}}