{"components":{"schemas":{"AdInput":{"additionalProperties":false,"properties":{"aspect_ratio":{"enum":["9:16","16:9","1:1"],"type":"string"},"duration_seconds":{"maximum":60,"minimum":5,"type":"integer"},"format_id":{"description":"From GET /options?kind=ad_formats.","type":"string"},"language":{"description":"e.g. en","type":"string"},"product_image_asset_ids":{"items":{"type":"string"},"maxItems":6,"type":"array"},"product_image_urls":{"items":{"description":"","format":"uri","type":"string"},"maxItems":6,"type":"array"},"prompt":{"description":"The product and the ad you want.","type":"string"},"quality":{"enum":["480p","720p","1080p"],"type":"string"}},"required":["prompt"],"type":"object"},"Asset":{"properties":{"bytes":{"type":"integer"},"duration":{"type":"number"},"expires_at":{"format":"date-time","type":"string"},"id":{"type":"string"},"media_type":{"enum":["image","video","audio"],"type":"string"},"media_url":{"format":"uri","type":"string"},"status":{"const":"completed"}},"required":["id","media_type","media_url"],"type":"object"},"AssetInput":{"additionalProperties":false,"properties":{"url":{"description":"Public HTTPS URL. JPEG, PNG, MP3 or MP4; at most 100 MiB and 600 seconds.","format":"uri","type":"string"}},"required":["url"],"type":"object"},"Audiobook":{"properties":{"chapters":{"items":{"properties":{"duration_secs":{"type":"number"},"index":{"type":"integer"},"media_url":{"format":"uri","type":"string"},"start_secs":{"type":"number"},"title":{"type":"string"}},"type":"object"},"type":"array"},"duration_secs":{"type":"number"},"id":{"type":"string"},"media_url":{"format":"uri","type":["string","null"]},"progress":{"type":"integer"},"status":{"enum":["queued","processing","completed","failed"],"type":"string"},"title":{"type":"string"}},"required":["id","status","chapters"],"type":"object"},"AudiobookAccepted":{"properties":{"id":{"type":"string"},"status":{"const":"queued"},"status_url":{"type":"string"}},"required":["id","status","status_url"],"type":"object"},"AudiobookInput":{"additionalProperties":false,"properties":{"chapters":{"items":{"additionalProperties":false,"properties":{"text":{"description":"The chapter's text, read as written.","maxLength":60000,"minLength":1,"type":"string"},"title":{"maxLength":200,"minLength":0,"type":"string"}},"required":["text"],"type":"object"},"maxItems":200,"minItems":1,"type":"array"},"language":{"maxLength":2,"minLength":2,"type":"string"},"speed":{"maximum":2,"minimum":0.5,"type":"number"},"title":{"maxLength":200,"minLength":0,"type":"string"},"voice":{"description":"A voice id or name from GET /voices; default is the standard narrator.","type":"string"}},"required":["chapters"],"type":"object"},"BroadcastEpisodeInput":{"additionalProperties":false,"properties":{"kit_id":{"description":"A kit id or built-in show id from GET /broadcast/kits.","type":"string"},"language":{"description":"e.g. en","type":"string"},"script":{"description":"The anchor's narration, about 30 seconds to 10 minutes.","type":"string"},"title":{"type":"string"}},"required":["kit_id","script"],"type":"object"},"BroadcastRenderInput":{"additionalProperties":false,"properties":{"accepted_credits":{"description":"The quoted credits the user approved.","type":"integer"},"quote_id":{"description":"From the quote.","type":"string"},"rundown_version":{"type":"integer"}},"required":["quote_id","rundown_version","accepted_credits"],"type":"object"},"CaptionInput":{"additionalProperties":false,"properties":{"asset_id":{"type":"string"},"caption_style":{"type":"string"},"language":{"maxLength":2,"minLength":2,"type":"string"},"max_credits":{"minimum":1,"type":"integer"}},"required":["asset_id","language","max_credits"],"type":"object"},"ClipAccepted":{"properties":{"credits_reserved":{"type":"integer"},"id":{"type":"string"},"notice":{"type":"string"},"status":{"const":"processing"},"status_url":{"type":"string"},"video_status_url":{"type":"string"}},"required":["id","status","status_url"],"type":"object"},"ClipInput":{"additionalProperties":false,"properties":{"aspect_ratio":{"enum":["9:16","16:9","1:1"],"type":"string"},"duration":{"maximum":30,"minimum":3,"type":"integer"},"end_image_asset_id":{"type":"string"},"end_image_url":{"description":"End frame, for models with end_frame.","format":"uri","maxLength":2048,"type":"string"},"image_asset_id":{"type":"string"},"image_url":{"description":"Start frame (public https image).","format":"uri","maxLength":2048,"type":"string"},"model":{"description":"A model id from GET /options?kind=clip_models; default seedance.","type":"string"},"prompt":{"description":"The motion or scene. Required when no start image is given.","maxLength":4000,"minLength":0,"type":"string"},"quality":{"enum":["480p","720p","1080p"],"type":"string"}},"required":null,"type":"object"},"EmptyInput":{"additionalProperties":false,"properties":{},"required":null,"type":"object"},"Error":{"properties":{"error":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"request_id":{"type":"string"}},"required":["error","request_id"],"type":"object"},"Generation":{"properties":{"created_at":{"format":"date-time","type":"string"},"credits_charged":{"type":"integer"},"error":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"type":"object"},"id":{"type":"string"},"kind":{"enum":["image","upscale","clip","music","voiceover","lipsync"],"type":"string"},"media":{"items":{"properties":{"type":{"enum":["image","audio","video"],"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"},"type":"array"},"status":{"enum":["processing","completed","failed"],"type":"string"}},"required":["id","kind","status","media"],"type":"object"},"GenerationAccepted":{"properties":{"credits_reserved":{"type":"integer"},"id":{"type":"string"},"status":{"const":"processing"},"status_url":{"type":"string"}},"required":["id","status","status_url"],"type":"object"},"ImageEditInput":{"additionalProperties":false,"properties":{"aspect_ratio":{"description":"Output aspect ratio, e.g. 1:1, 4:5, 9:16, 16:9 (outpaint extends the canvas to it).","type":"string"},"camera_angle":{"enum":["front","left","right","back","overhead","low","hero","profile","close"],"type":"string"},"image_asset_id":{"description":"An image imported with POST /assets.","type":"string"},"image_url":{"description":"Public HTTPS image to edit.","format":"uri","type":"string"},"lighting":{"enum":["golden","blue","candlelight","window","studio","neon","moonlight","dramatic"],"type":"string"},"mode":{"enum":["instruct","outpaint","angles","relight","replace_text","remove_text"],"type":"string"},"original_text":{"description":"replace_text: the text in the image.","type":"string"},"prompt":{"description":"instruct: the edit to make. Other modes: optional extra direction.","type":"string"},"replacement_text":{"description":"replace_text: what it should say.","type":"string"},"resolution":{"description":"Output resolution, e.g. 2K (the default).","type":"string"}},"required":["mode"],"type":"object"},"ImageInput":{"additionalProperties":false,"properties":{"aspect_ratio":{"description":"One of the model's supported_aspect_ratios, such as 1:1, 9:16 or 16:9.","type":"string"},"enhance_prompt":{"description":"Let FluxNote expand the prompt; default true.","type":"boolean"},"model":{"description":"A model id from GET /options?kind=image_models; omit for the default.","type":"string"},"num_images":{"maximum":8,"minimum":1,"type":"integer"},"prompt":{"description":"What to make.","maxLength":12000,"minLength":1,"type":"string"},"reference_image_urls":{"items":{"description":"Public https image the result should follow (models with supports_reference).","format":"uri","maxLength":2048,"type":"string"},"maxItems":8,"type":"array"},"resolution":{"description":"One of the model's supported_resolutions.","type":"string"}},"required":["prompt"],"type":"object"},"LipsyncInput":{"additionalProperties":false,"properties":{"aspect_ratio":{"enum":["9:16","16:9","1:1"],"type":"string"},"audio_asset_id":{"description":"Audio imported with POST /assets; its length sets the price.","type":"string"},"image_asset_id":{"type":"string"},"image_url":{"description":"Face image, for models whose input is image.","format":"uri","maxLength":2048,"type":"string"},"model":{"enum":["infinitalk","kling-pro","kling-standard","lipsync-pro","lipsync-standard","omnihuman","veed-fabric"],"type":"string"},"prompt":{"maxLength":2000,"minLength":0,"type":"string"},"resolution":{"description":"For models with credits_per_second_by_resolution.","type":"string"},"video_asset_id":{"type":"string"},"video_url":{"description":"Video to re-sync, for models whose input is video.","format":"uri","maxLength":2048,"type":"string"}},"required":["model","audio_asset_id"],"type":"object"},"MusicInput":{"additionalProperties":false,"properties":{"duration_seconds":{"description":"Up to the model's max_seconds.","minimum":3,"type":"integer"},"instrumental":{"type":"boolean"},"lyrics":{"description":"Lyrics to sing, for models with vocals.","maxLength":20000,"minLength":0,"type":"string"},"model":{"enum":["eleven-music","suno","minimax-music","lyria","stable-audio"],"type":"string"},"prompt":{"description":"Genre, mood, instruments, tempo.","maxLength":5000,"minLength":1,"type":"string"},"title":{"maxLength":120,"minLength":0,"type":"string"}},"required":["prompt","model"],"type":"object"},"Operation":{"properties":{"created_at":{"format":"date-time","type":"string"},"id":{"type":"string"},"operation":{"type":"string"},"response_status":{"type":"integer"},"result":{"type":["object","null"]},"status":{"enum":["processing","completed","uncertain"],"type":"string"}},"required":["id","operation","status","result"],"type":"object"},"OperationAccepted":{"properties":{"operation_id":{"type":"string"},"status":{"const":"processing"},"status_url":{"type":"string"}},"required":["operation_id","status","status_url"],"type":"object"},"PostInput":{"additionalProperties":false,"properties":{"account_ids":{"items":{"type":"string"},"maxItems":10,"minItems":1,"type":"array","uniqueItems":true},"caption":{"type":"string"},"scheduled_at":{"format":"date-time","type":"string"},"title":{"type":"string"},"video_id":{"type":"string"}},"required":["caption","video_id","account_ids"],"type":"object"},"RecastInput":{"additionalProperties":false,"properties":{"clip_asset_id":{"description":"An imported clip.","type":"string"},"clip_url":{"description":"A 4–15 second MP4 clip.","format":"uri","type":"string"},"consent":{"description":"True only after the user confirms they own the clip and everyone in the photos agreed.","type":"boolean"},"fix_lip_sync":{"type":"boolean"},"mode":{"enum":["motion","swap"],"type":"string"},"person_1_asset_ids":{"items":{"type":"string"},"maxItems":4,"type":"array"},"person_1_image_urls":{"items":{"description":"","format":"uri","type":"string"},"maxItems":4,"type":"array"},"person_2_asset_ids":{"items":{"type":"string"},"maxItems":4,"type":"array"},"person_2_image_urls":{"items":{"description":"","format":"uri","type":"string"},"maxItems":4,"type":"array"},"preset_id":{"description":"A Motion Library clip from GET /options?kind=recast, instead of a clip.","type":"string"},"prompt":{"description":"Optional direction.","type":"string"},"quality":{"enum":["standard","pro"],"type":"string"},"style_id":{"description":"Optional look from GET /options?kind=recast.","type":"string"},"target":{"description":"swap: what in the clip to replace (person_1 photos show the replacement).","type":"string"}},"required":["mode","consent"],"type":"object"},"ScheduleInput":{"additionalProperties":false,"properties":{"account_ids":{"items":{"type":"string"},"maxItems":10,"minItems":1,"type":"array","uniqueItems":true},"caption":{"type":"string"},"scheduled_at":{"format":"date-time","type":"string"},"title":{"type":"string"},"video_id":{"type":"string"}},"required":["caption","video_id","account_ids","scheduled_at"],"type":"object"},"SeriesInput":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"aspect_ratio":{"type":"string"},"caption_style":{"type":"string"},"duration_range":{"type":"string"},"language":{"type":"string"},"name":{"type":"string"},"post_days":{"items":{"maximum":6,"minimum":0,"type":"integer"},"type":"array","uniqueItems":true},"post_time":{"type":"string"},"schedule":{"type":"string"},"template":{"type":"string"},"timezone":{"type":"string"},"topic":{"type":"string"},"visual_style":{"type":"string"},"voice":{"type":"string"}},"required":["name","topic","template","voice","language"],"type":"object"},"SeriesPatch":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"aspect_ratio":{"type":"string"},"caption_style":{"type":"string"},"duration_range":{"type":"string"},"language":{"type":"string"},"name":{"type":"string"},"post_days":{"items":{"maximum":6,"minimum":0,"type":"integer"},"type":"array","uniqueItems":true},"post_time":{"type":"string"},"schedule":{"type":"string"},"template":{"type":"string"},"timezone":{"type":"string"},"topic":{"type":"string"},"visual_style":{"type":"string"},"voice":{"type":"string"}},"required":null,"type":"object"},"ThumbnailInput":{"additionalProperties":false,"properties":{"asset_id":{"type":"string"}},"required":["asset_id"],"type":"object"},"UGCAdInput":{"additionalProperties":false,"properties":{"brand_watermark":{"description":"Short text such as yourbrand.com, shown bottom-left.","type":"string"},"presenter_image_asset_id":{"description":"An imported presenter photo.","type":"string"},"presenter_image_url":{"description":"Photo of the presenter: the user or an adult who agreed to appear.","format":"uri","type":"string"},"product_image_asset_id":{"description":"An imported product photo.","type":"string"},"product_image_url":{"description":"Optional product photo for a product reveal.","format":"uri","type":"string"},"product_url":{"description":"The product page; its details become the script.","format":"uri","type":"string"},"script":{"description":"Exact words for the presenter, instead of or with product_url.","type":"string"},"tone":{"description":"e.g. excited, calm, funny.","type":"string"},"voice":{"description":"A voice from GET /voices.","type":"string"}},"required":null,"type":"object"},"UpscaleInput":{"additionalProperties":false,"properties":{"image_asset_id":{"type":"string"},"image_url":{"description":"Public https image.","format":"uri","maxLength":2048,"type":"string"},"model":{"enum":["topaz","topaz-auto","clarity","magnific"],"type":"string"},"scale":{"maximum":4,"minimum":1,"type":"integer"}},"required":null,"type":"object"},"VideoEffectInput":{"additionalProperties":false,"properties":{"aspect_ratio":{"enum":["9:16","16:9","1:1"],"type":"string"},"duration":{"maximum":15,"minimum":3,"type":"integer"},"effect_id":{"description":"From GET /options?kind=video_effects.","type":"string"},"image_asset_id":{"description":"An imported image.","type":"string"},"image_url":{"description":"Public HTTPS photo to animate.","format":"uri","type":"string"},"model":{"description":"Optional; a clip model that supports effects.","type":"string"},"prompt":{"description":"Optional extra direction.","type":"string"},"quality":{"enum":["480p","720p","1080p"],"type":"string"}},"required":["effect_id"],"type":"object"},"VideoInput":{"additionalProperties":false,"oneOf":[{"not":{"required":["prompt"]},"required":["script"]},{"not":{"required":["script"]},"required":["prompt"]}],"properties":{"animate_first_n":{"minimum":0,"type":"integer"},"animate_model":{"type":"string"},"aspect_ratio":{"type":"string"},"caption_style":{"type":"string"},"kids_story_config":{"additionalProperties":false,"properties":{"age_group":{"default":"5-7","enum":["2-4","5-7","8-12","family"],"type":"string"},"story_category":{"default":"adventure","enum":["adventure","bedtime","friendship","educational","fairy_tale","funny","animals","everyday"],"type":"string"}},"type":"object"},"language":{"type":"string"},"motion_studio_model":{"description":"motion_studio only: the model that writes the film (motion_studio_models in get_options kind=templates). Leave it out for the default.","type":"string"},"music_file":{"description":"A file from get_options kind=music, or none. Leave it out to have music picked for the video.","type":"string"},"production_mode":{"type":"string"},"prompt":{"type":"string"},"recipe_id":{"type":"string"},"script":{"type":"string"},"sound_effects":{"type":"boolean"},"story_lane":{"type":"string"},"target_duration":{"minimum":1,"type":"integer"},"template":{"description":"A name from get_options kind=templates, exactly as listed (for example 3d_animation, stickman, motion_studio).","type":"string"},"visual_style":{"description":"A style from get_options kind=styles; motion_studio takes one of its style presets instead.","type":"string"},"voice":{"type":"string"}},"required":["template","voice","language","target_duration"],"type":"object"},"Voiceover":{"properties":{"credits_charged":{"type":"integer"},"duration_secs":{"type":"number"},"id":{"type":"string"},"media_url":{"format":"uri","type":"string"},"quality":{"enum":["standard","studio"],"type":"string"},"status":{"const":"completed"},"voice":{"type":"string"},"words":{"type":"array"}},"required":["id","status","media_url"],"type":"object"},"VoiceoverInput":{"additionalProperties":false,"properties":{"emotion":{"enum":["neutral","calm","expressive","energetic","narration"],"type":"string"},"pauses":{"enum":["natural","tight"],"type":"string"},"script":{"description":"The exact words to speak.","maxLength":5000,"minLength":1,"type":"string"},"voice":{"description":"A voice id or name from GET /voices (standard or elevenlabs list); default is the standard narrator.","type":"string"}},"required":["script"],"type":"object"}},"securitySchemes":{"bearerAuth":{"bearerFormat":"FluxNote API key","scheme":"bearer","type":"http"}}},"info":{"description":"Not enabled for public use. Current development inventory; additional reference categories remain in implementation.","title":"FluxNote Customer API — private development","version":"0.1.0"},"openapi":"3.1.0","paths":{"/accounts":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Connected social account identifiers","x-required-scope":"accounts:read"}},"/ad-studio/ads":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Make a directed product ad from a brief and product photos, rendered straight away; poll the ad","x-required-scope":"media:write"}},"/ad-studio/ads/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Get a product ad's progress, then its video","x-required-scope":"media:read"}},"/analytics":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Social performance metrics","x-required-scope":"analytics:read"}},"/assets":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationAccepted"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Import a public HTTPS file into private R2 asynchronously","x-required-scope":"assets:write"}},"/assets/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Asset"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Get an owned asset with a 15-minute signed download URL","x-required-scope":"assets:read"}},"/audiobooks":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudiobookInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudiobookAccepted"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Narrate chapters into an audiobook within the plan's monthly allowance","x-required-scope":"audiobooks:write"}},"/audiobooks/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Audiobook"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Audiobook progress, then the full MP3 and each chapter's MP3","x-required-scope":"audiobooks:read"}},"/broadcast/episodes":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastEpisodeInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Create a Broadcast news-desk episode from a narration script and plan its rundown","x-required-scope":"videos:write"}},"/broadcast/episodes/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Get a Broadcast episode: its scenes, and which on-screen facts need review in FluxNote before quoting","x-required-scope":"videos:read"}},"/broadcast/episodes/{id}/quote":{"post":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyInput"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Quote the credits to render an episode's current rundown; nothing is charged","x-required-scope":"videos:read"}},"/broadcast/episodes/{id}/render":{"post":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastRenderInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Render a quoted Broadcast episode at the quoted credits; poll the job","x-required-scope":"videos:write"}},"/broadcast/jobs/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Get a Broadcast render's progress, then its video","x-required-scope":"videos:read"}},"/broadcast/kits":{"get":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"List the account's Broadcast show kits and the built-in shows an episode can start from","x-required-scope":"videos:read"}},"/calendar":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Scheduled social posts","x-required-scope":"posts:read"}},"/clips":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClipInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClipAccepted"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Generate a short AI video clip from a prompt or a start image; poll the generation for the MP4","x-required-scope":"media:write"}},"/credits":{"get":{"parameters":[{"in":"query","name":"limit","schema":{"default":20,"maximum":100,"minimum":1,"type":"integer"}},{"in":"query","name":"cursor","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Available credits and generation usage","x-required-scope":"credits:read"}},"/generations/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Generation"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Get an image, upscale, clip, music, voiceover or lipsync result","x-required-scope":"media:read"}},"/images":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationAccepted"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Generate images from a prompt, optionally guided by reference images; poll the generation for the files","x-required-scope":"media:write"}},"/images/edit":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageEditInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationAccepted"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Edit an image: instruct (a free-form edit described in prompt), outpaint, angles, relight, replace_text or remove_text; poll the generation","x-required-scope":"media:write"}},"/images/upscale":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpscaleInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationAccepted"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Upscale an image 2× or 4×; poll the generation for the file","x-required-scope":"media:write"}},"/lipsync":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LipsyncInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationAccepted"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Make a face image talk, or re-sync a video, to imported audio (Rise and above); poll the generation","x-required-scope":"media:write"}},"/me":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Account identity and current limits","x-required-scope":"account:read"}},"/music":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationAccepted"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Compose a music track (Rise and above); poll the generation for the audio","x-required-scope":"media:write"}},"/operations/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Inspect a durable operation receipt","x-required-scope":"operations:read"}},"/options":{"get":{"parameters":[{"in":"query","name":"kind","schema":{"enum":["voices","caption_styles","series_sources","series_niches","styles","music","templates","recipes","animation","image_models","upscale_models","clip_models","music_models","lipsync_models","video_effects","recast","ad_formats"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Generation catalogs","x-required-scope":"catalog:read"}},"/posts":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Publish an owned completed video to connected accounts","x-required-scope":"posts:write"}},"/posts/schedule":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Schedule an owned completed video","x-required-scope":"posts:write"}},"/posts/{id}":{"delete":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyInput"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Cancel a pending or scheduled post","x-required-scope":"posts:write"},"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Read post status","x-required-scope":"posts:read"}},"/recasts":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecastInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Saṁmoha: the people in the photos perform a 4–15 second clip (mode motion), or one thing in the clip becomes the photographed one (mode swap); poll the recast","x-required-scope":"media:write"}},"/recasts/{id}":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Get a Saṁmoha recast: its stage, then the video","x-required-scope":"media:read"}},"/series":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"List existing Autopilot series","x-required-scope":"series:read"},"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeriesInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Create a recurring video series","x-required-scope":"series:write"}},"/series/{id}":{"delete":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyInput"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Delete a series","x-required-scope":"series:write"},"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Get an existing Autopilot series","x-required-scope":"series:read"},"patch":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeriesPatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Update series configuration","x-required-scope":"series:write"}},"/series/{id}/episodes":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"List existing episodes","x-required-scope":"series:read"}},"/series/{id}/generate":{"post":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyInput"}}},"required":false},"responses":{"202":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Queue one episode using existing series billing","x-required-scope":"series:write"}},"/ugc/ads":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UGCAdInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationAccepted"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Make a creator-style UGC ad: a presenter talks about the product at product_url or reads the script; poll the generation","x-required-scope":"media:write"}},"/video-effects":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoEffectInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClipAccepted"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Turn a photo into a short video with an effect from GET /options?kind=video_effects; poll the generation","x-required-scope":"media:write"}},"/videos":{"get":{"parameters":[{"in":"query","name":"limit","schema":{"default":20,"maximum":100,"minimum":1,"type":"integer"}},{"in":"query","name":"cursor","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"List owned videos, newest first","x-required-scope":"videos:read"},"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Create and fully render a video asynchronously","x-required-scope":"videos:write"}},"/videos/captions":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptionInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationAccepted"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Transcribe and caption an imported video; poll operation, then download result asset","x-required-scope":"videos:write"}},"/videos/estimate":{"post":{"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Validate video input and estimate credits without charging","x-required-scope":"videos:write"}},"/videos/{id}":{"delete":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Soft-delete a terminal video; does not delete media","x-required-scope":"videos:write"},"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Poll generation and retrieve the final media URL","x-required-scope":"videos:read"},"patch":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"title":{"maxLength":120,"minLength":1,"type":"string"}},"required":["title"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Update a video title","x-required-scope":"videos:write"}},"/videos/{id}/thumbnail":{"post":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThumbnailInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Set thumbnail from an owned imported image","x-required-scope":"videos:write"}},"/voiceovers":{"post":{"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"maxLength":128,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceoverInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Voiceover"}}},"description":"Success"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Request rejected or operation uncertain; inspect receipt before submitting a new key"}},"summary":"Narrate a script with a voice from GET /voices and return the finished MP3","x-required-scope":"media:write"}},"/voices":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Structured error"}},"summary":"Available narration voices","x-required-scope":"catalog:read"}}},"security":[{"bearerAuth":[]}],"servers":[{"url":"https://api.fluxnote.io/v1"}]}
