{"openapi":"3.0.0","paths":{"/v1/elevenlabs/credentials":{"post":{"description":"Create credentials for a workspace","operationId":"createCredentials","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialsCreationDto"}}}},"responses":{"200":{"description":"The credentials were created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialsDto"}}}}},"security":[{"basic":[]}],"summary":"Create credentials for a workspace","tags":["ElevenLabs"]},"get":{"description":"Get credentials for a workspace","operationId":"getWorkspaceCredentials","parameters":[],"responses":{"200":{"description":"The credentials were retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialsDto"}}}}},"security":[{"basic":[]}],"summary":"Get credentials for a workspace","tags":["ElevenLabs"]},"delete":{"description":"Delete ElevenLabs credentials for a workspace","operationId":"deleteWorkspaceCredentials","parameters":[],"responses":{"200":{"description":"The credentials were deleted successfully"},"404":{"description":"The workspace credentials were not found"},"500":{"description":"An error occurred while deleting the credentials"}},"security":[{"basic":[]}],"summary":"Delete ElevenLabs credentials for a workspace","tags":["ElevenLabs"]}},"/v1/elevenlabs/trigger-import":{"post":{"description":"Trigger import of voices from ElevenLabs","operationId":"triggerImport","parameters":[],"responses":{"200":{"description":"The import was triggered successfully","content":{"application/json":{"schema":{"type":"number"}}}},"404":{"description":"The workspace credentials were not found"},"500":{"description":"An error occurred while triggering the import"}},"security":[{"basic":[]}],"summary":"Trigger import of voices from ElevenLabs","tags":["ElevenLabs"]}},"/v1/elements":{"get":{"description":"Saved characters, products, locations and props, each a few images under a handle. Without `productId`, lists the elements of every brand in the workspace. Pass handles in `elements` when generating with a model that takes them, with the `productId` of their brand, and mention them in the prompt as `@handle`.","operationId":"list","parameters":[{"name":"productId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"The elements"}},"security":[{"basic":[]}],"summary":"List saved elements","tags":["Elements"]}},"/v1/folders/{folderId}/scripts":{"get":{"operationId":"getFolderScripts","parameters":[{"name":"folderId","required":true,"in":"path","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","schema":{"default":50,"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"isActiveVersion","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Scripts successfully retrieved for folder","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedScripts"}}}},"403":{"description":"Authentication error"},"404":{"description":"Folder not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get paginated scripts for given folder","tags":["Folders"]}},"/v1/folders/{folderId}":{"get":{"operationId":"getFolder","parameters":[{"name":"folderId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Folder successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Folder not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get folder by ID","tags":["Folders"]},"put":{"operationId":"updateFolder","parameters":[{"name":"folderId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderNameUpdateDto"}}}},"responses":{"200":{"description":"Folder successfully updated","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Folder not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Update folder with given ID","tags":["Folders"]},"delete":{"operationId":"deleteFolder","parameters":[{"name":"folderId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Folder successfully deleted","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Folder not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Delete folder by ID","tags":["Folders"]}},"/v1/folders":{"post":{"operationId":"createFolder","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderCreationDto"}}}},"responses":{"201":{"description":"Folder successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Product not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Create new folder within product","tags":["Folders"]}},"/v2/images/generate":{"post":{"operationId":"generate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateImageDto"}}}},"responses":{"201":{"description":""}},"security":[{"basic":[]}],"summary":"Trigger image generation","tags":["Images v2"]}},"/v2/videos/generate":{"post":{"operationId":"generate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVideoDto"}}}},"responses":{"201":{"description":""}},"security":[{"basic":[]}],"summary":"Trigger video generation","tags":["Videos v2"]}},"/v1/presets":{"get":{"operationId":"getPresetTypes","parameters":[],"responses":{"200":{"description":"Preset types list","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PresetTypeDto"}}}}},"403":{"description":"Authentication error"}},"security":[{"basic":[]}],"summary":"List available preset types","tags":["Presets"]}},"/v1/presets/{presetType}/templates":{"get":{"operationId":"getPresetTemplates","parameters":[{"name":"presetType","required":true,"in":"path","description":"The preset type to list templates for","schema":{"enum":["camera-movement","gameplay-ad","gestures","showyourapp","unboxing-pov"],"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"pageSize","required":false,"in":"query","schema":{"default":50,"type":"number"}}],"responses":{"200":{"description":"Paginated preset templates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedPresetTemplates"}}}},"400":{"description":"Invalid preset type"},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"List available templates for a preset type","tags":["Presets"]}},"/v1/presets/camera-movement/generate":{"post":{"operationId":"generateCameraMovement","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartCameraMovementDto"}}}},"responses":{"201":{"description":""}},"security":[{"basic":[]}],"summary":"Trigger Camera Movement preset generation","tags":["Presets"]}},"/v1/presets/gestures/generate":{"post":{"operationId":"generateGestures","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartGesturesDto"}}}},"responses":{"201":{"description":""}},"security":[{"basic":[]}],"summary":"Trigger Gestures preset generation","tags":["Presets"]}},"/v1/presets/showyourapp/generate":{"post":{"operationId":"generateShowyourapp","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartShowyourappDto"}}}},"responses":{"201":{"description":""}},"security":[{"basic":[]}],"summary":"Trigger Showyourapp preset generation","tags":["Presets"]}},"/v1/presets/unboxing-pov/generate":{"post":{"operationId":"generateUnboxingPov","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartUnboxingPovDto"}}}},"responses":{"201":{"description":""}},"security":[{"basic":[]}],"summary":"Trigger Unboxing POV preset generation","tags":["Presets"]}},"/v1/presets/gameplay-ad/generate":{"post":{"operationId":"generateGameplayAd","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartGameplayAdDto"}}}},"responses":{"201":{"description":""}},"security":[{"basic":[]}],"summary":"Trigger Gameplay Ad preset generation","tags":["Presets"]}},"/v1/ads":{"get":{"description":"\n      Returns the brand's ads, newest first, together with the competitors\n      currently configured. Competitor ads are searched live in the Meta Ad\n      Library for every configured competitor. The brand's own ads come from its\n      connected Meta or X ads account, or from a live Meta Ad Library search\n      when neither is connected.\n    ","operationId":"listAds","parameters":[{"name":"productId","required":true,"in":"query","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"type":"number"}},{"name":"source","required":false,"in":"query","schema":{"enum":["competitor","own","all"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdsLibraryResponseDto"}}}}},"security":[{"basic":[]}],"summary":"List a brand's competitor ads and its own ads","tags":["Ads"]}},"/v1/ads/competitors":{"post":{"description":"\n      Adds competitors to the brand.\n\n      Re-adding an existing competitor updates it instead of duplicating it.\n    ","operationId":"addCompetitors","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddCompetitorsDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompetitorsResponseDto"}}}}},"security":[{"basic":[]}],"summary":"Add competitors to a brand","tags":["Ads"]}},"/v1/ad-performance/accounts":{"get":{"operationId":"listAccounts","parameters":[{"name":"adNetwork","required":true,"in":"query","schema":{"enum":["x","meta"],"type":"string"}},{"name":"productId","required":true,"in":"query","description":"The brand whose ads account is read.","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"List the ads accounts a brand can read, and the one saved as its default","tags":["AdPerformance"]}},"/v1/ad-performance/campaigns":{"get":{"operationId":"listCampaigns","parameters":[{"name":"adNetwork","required":true,"in":"query","schema":{"enum":["x","meta"],"type":"string"}},{"name":"productId","required":true,"in":"query","description":"The brand whose ads account is read.","schema":{"format":"uuid","type":"string"}},{"name":"adsAccountId","required":false,"in":"query","description":"Ads account to read. Defaults to the brand's saved one.","schema":{"type":"string"}},{"name":"days","required":false,"in":"query","schema":{"minimum":1,"maximum":30,"default":30,"type":"number"}},{"name":"campaignIds","required":false,"in":"query","description":"Comma-separated campaign ids to read, at most 20. Defaults to the most recent campaigns.","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Read the campaign performance of a brand's ads account over a window","tags":["AdPerformance"]}},"/v1/ad-performance/campaigns/{campaignId}":{"get":{"operationId":"getCampaign","parameters":[{"name":"campaignId","required":true,"in":"path","description":"The campaignId returned by the campaigns read.","schema":{"type":"string"}},{"name":"adNetwork","required":true,"in":"query","schema":{"enum":["x","meta"],"type":"string"}},{"name":"productId","required":true,"in":"query","description":"The brand whose ads account is read.","schema":{"format":"uuid","type":"string"}},{"name":"adsAccountId","required":false,"in":"query","description":"Ads account to read. Defaults to the brand's saved one.","schema":{"type":"string"}},{"name":"days","required":false,"in":"query","schema":{"minimum":1,"maximum":30,"default":30,"type":"number"}}],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Break one campaign down to its ad groups and creatives over a window","tags":["AdPerformance"]}},"/v1/ad-performance/audience":{"get":{"operationId":"getAudience","parameters":[{"name":"adNetwork","required":true,"in":"query","schema":{"enum":["x","meta"],"type":"string"}},{"name":"productId","required":true,"in":"query","description":"The brand whose ads account is read.","schema":{"format":"uuid","type":"string"}},{"name":"adsAccountId","required":false,"in":"query","description":"Ads account to read. Defaults to the brand's saved one.","schema":{"type":"string"}},{"name":"days","required":false,"in":"query","schema":{"minimum":1,"maximum":30,"default":30,"type":"number"}},{"name":"campaignId","required":false,"in":"query","description":"One campaign's audience. Defaults to the whole account.","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Break down who the ads of an account or one campaign reached over a window","tags":["AdPerformance"]}},"/v1/ad-performance/creatives":{"get":{"operationId":"listCreatives","parameters":[{"name":"adNetwork","required":true,"in":"query","schema":{"enum":["x","meta"],"type":"string"}},{"name":"productId","required":true,"in":"query","description":"The brand whose ads account is read.","schema":{"format":"uuid","type":"string"}},{"name":"adsAccountId","required":false,"in":"query","description":"Ads account to read. Defaults to the brand's saved one.","schema":{"type":"string"}},{"name":"days","required":false,"in":"query","schema":{"default":30,"enum":[7,14,30],"type":"number"}},{"name":"sort","required":false,"in":"query","schema":{"default":"spend","enum":["recent","spend","impressions"],"type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"minimum":1,"maximum":24,"default":12,"type":"number"}}],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Read the promoted creatives of a brand's ads account, with their metrics","tags":["AdPerformance"]}},"/v1/ad-performance/creatives/media":{"post":{"operationId":"getCreativeMedia","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCreativeMediaDto"}}}},"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Retrieve the video or photos of one promoted creative, as signed urls","tags":["AdPerformance"]}},"/v1/ad-performance/library-ads":{"post":{"operationId":"getLibraryAdsPerformance","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LibraryAdsPerformanceDto"}}}},"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Live performance of the brand's own imported ads (ads-library asset ids, `source: 'own'`), read with the caller's own Meta connection","tags":["AdPerformance"]}},"/v1/ad-publish/meta/prepare":{"post":{"operationId":"prepare","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepareMetaAdDto"}}}},"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Resolve the full setup of a Meta ad with the caller's own Meta connection and store it as a draft, without publishing. Returns a recap to approve.","tags":["AdPublish"]}},"/v1/ad-publish/meta/{id}/confirm":{"post":{"operationId":"confirm","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmMetaAdDto"}}}},"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Publish a prepared draft exactly as its recap showed it. An ACTIVE ad starts spending once Meta approves it; a PAUSED one never spends until enabled. Confirming twice publishes once.","tags":["AdPublish"]}},"/v1/ad-publish/meta/{id}":{"get":{"operationId":"getStatus","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Read the state of a Meta ad publish: status, result or failure","tags":["AdPublish"]}},"/v1/products/{productId}/folders":{"get":{"deprecated":true,"description":"Deprecated. Products are now called brands. Use the matching /v1/brands endpoint.","operationId":"getProductFolders","parameters":[{"name":"productId","required":true,"in":"path","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","schema":{"default":50,"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}}],"responses":{"200":{"description":"Folders successfully retrieved for product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedFolders"}}}},"403":{"description":"Authentication error"},"404":{"description":"Product not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get paginated folders for given product","tags":["Products"]}},"/v1/products":{"get":{"deprecated":true,"description":"Deprecated. Products are now called brands. Use the matching /v1/brands endpoint.","operationId":"getWorkspaceProducts","parameters":[{"name":"pageSize","required":false,"in":"query","schema":{"default":50,"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}}],"responses":{"200":{"description":"Products successfully retrieved for workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedProducts"}}}},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get paginated products for your workspace","tags":["Products"]},"post":{"deprecated":true,"description":"Deprecated. Products are now called brands. Use the matching /v1/brands endpoint.","operationId":"createProduct","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCreationDto"}}}},"responses":{"201":{"description":"Folder successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDto"}}}},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Create new product","tags":["Products"]}},"/v1/products/{productId}":{"get":{"deprecated":true,"description":"Deprecated. Products are now called brands. Use the matching /v1/brands endpoint.","operationId":"getProduct","parameters":[{"name":"productId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Product successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Product not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get product by ID","tags":["Products"]},"put":{"deprecated":true,"description":"Deprecated. Products are now called brands. Use the matching /v1/brands endpoint.","operationId":"updateProduct","parameters":[{"name":"productId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdateDto"}}}},"responses":{"200":{"description":"Product successfully updated","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Product not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Update product with given ID","tags":["Products"]},"delete":{"deprecated":true,"description":"Deprecated. Products are now called brands. Use the matching /v1/brands endpoint.","operationId":"deleteProduct","parameters":[{"name":"productId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Product successfully deleted","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Product not found"},"409":{"description":"Product is the last one of its workspace"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Delete product by ID","tags":["Products"]}},"/v1/brands/{brandId}/folders":{"get":{"operationId":"getBrandFolders","parameters":[{"name":"brandId","required":true,"in":"path","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","schema":{"default":50,"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}}],"responses":{"200":{"description":"Folders successfully retrieved for brand","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedFolders"}}}},"403":{"description":"Authentication error"},"404":{"description":"Brand not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get paginated folders for given brand","tags":["Brands"]}},"/v1/brands":{"get":{"operationId":"getWorkspaceBrands","parameters":[{"name":"pageSize","required":false,"in":"query","schema":{"default":50,"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}}],"responses":{"200":{"description":"Brands successfully retrieved for workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedProducts"}}}},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get paginated brands for your workspace","tags":["Brands"]},"post":{"operationId":"createBrand","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCreationDto"}}}},"responses":{"201":{"description":"Brand successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDto"}}}},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Create new brand","tags":["Brands"]}},"/v1/brands/{brandId}":{"get":{"operationId":"getBrand","parameters":[{"name":"brandId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Brand successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Brand not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get brand by ID","tags":["Brands"]},"put":{"operationId":"updateBrand","parameters":[{"name":"brandId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdateDto"}}}},"responses":{"200":{"description":"Brand successfully updated","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Brand not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Update brand with given ID","tags":["Brands"]},"delete":{"operationId":"deleteBrand","parameters":[{"name":"brandId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Brand successfully deleted","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Brand not found"},"409":{"description":"Brand is the last one of its workspace"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Delete brand by ID","tags":["Brands"]}},"/v1/projects":{"post":{"description":"Create a new project within a specified folder.","operationId":"createProject","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCreationDto"}}}},"responses":{"201":{"description":"Project successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Folder not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Create a new project","tags":["Projects"]}},"/v1/projects/{projectId}":{"get":{"description":"Retrieve a project by its ID.","operationId":"getProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Project successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Project not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get project by ID","tags":["Projects"]},"put":{"description":"Update an existing project name.","operationId":"updateProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectUpdateDto"}}}},"responses":{"200":{"description":"Project successfully updated","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Project not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Update project","tags":["Projects"]},"delete":{"description":"Delete an existing project and all its associated scripts.","operationId":"deleteProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Project successfully deleted","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Project not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Delete project","tags":["Projects"]}},"/v1/projects/{projectId}/assets":{"get":{"description":"Retrieve the assets in a project, newest first, paginated.","operationId":"getProjectAssets","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","schema":{"default":50,"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}}],"responses":{"200":{"description":"Project assets successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedProjectAssetsDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Project not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get the assets of a project","tags":["Projects"]}},"/v1/actors":{"get":{"operationId":"getActors","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"pageSize","required":false,"in":"query","schema":{"default":50,"type":"number"}},{"name":"freeSpeech","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"age","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"gender","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"skinTone","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Actors list successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSituations"}}}},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get paginated actors w/ filters","tags":["Actors"]}},"/v1/actors/{actorId}/situations":{"get":{"operationId":"getSituation","parameters":[{"name":"actorId","required":true,"in":"path","schema":{"type":"string"}},{"name":"talkingActorEnabled","required":false,"in":"query","description":"Filter by talking-actor situations. If no content-type filter is provided, the API defaults to talkingActorEnabled=true for backward compatibility.","schema":{"type":"boolean"}},{"name":"showYourAppEnabled","required":false,"in":"query","description":"Filter by \"show your app\" situations.","schema":{"type":"boolean"}},{"name":"unboxingPovEnabled","required":false,"in":"query","description":"Filter by unboxing POV situations.","schema":{"type":"boolean"}},{"name":"gesturesEnabled","required":false,"in":"query","description":"Filter by gestures situations.","schema":{"type":"boolean"}},{"name":"cameraMovementEnabled","required":false,"in":"query","description":"Filter by camera-movement situations.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Situations successfully retrieved for actor","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SituationDto"}}}}},"403":{"description":"Authentication error"},"404":{"description":"Actor not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get all situations for given actor","tags":["Actors"]}},"/v1/situations":{"get":{"operationId":"getSituations","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"pageSize","required":false,"in":"query","schema":{"default":50,"type":"number"}},{"name":"isPro","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"talkingActorEnabled","required":false,"in":"query","description":"Filter by talking-actor situations. Pass true for talking-actor content, false to exclude it (note: false narrows to non-talking content only, not any specific alternative). If NO content-type filter is provided, the API defaults to talkingActorEnabled=true for backward compatibility.","schema":{"type":"boolean"}},{"name":"showYourAppEnabled","required":false,"in":"query","description":"Filter by \"show your app\" situations.","schema":{"type":"boolean"}},{"name":"unboxingPovEnabled","required":false,"in":"query","description":"Filter by unboxing POV situations.","schema":{"type":"boolean"}},{"name":"gesturesEnabled","required":false,"in":"query","description":"Filter by gestures situations.","schema":{"type":"boolean"}},{"name":"cameraMovementEnabled","required":false,"in":"query","description":"Filter by camera-movement situations.","schema":{"type":"boolean"}},{"name":"actorGender","required":false,"in":"query","description":"Filter by actor gender (case-insensitive). Values: male, female. Only applies to actor-based situations; not supported alongside preset content-type filters (gesturesEnabled, cameraMovementEnabled, unboxingPovEnabled).","schema":{"type":"array","items":{"type":"string"}}},{"name":"actorAge","required":false,"in":"query","description":"Filter by actor age (case-insensitive). Values: adult, senior, young adult. Only applies to actor-based situations; not supported alongside preset content-type filters.","schema":{"type":"array","items":{"type":"string"}}},{"name":"actorName","required":false,"in":"query","description":"Filter by actor name (case-insensitive LIKE search). Only applies to actor-based situations; not supported alongside preset content-type filters.","schema":{"example":"john","type":"string"}},{"name":"actorFreeSpeech","required":false,"in":"query","description":"Filter by actor free speech capability. Only applies to actor-based situations; not supported alongside preset content-type filters.","schema":{"example":true,"type":"boolean"}},{"name":"excludeTags","required":false,"in":"query","description":"Leave out the situations carrying any of these tags (exact match, comma-separated).","schema":{"example":"hook,family","type":"array","items":{"type":"string"}}},{"name":"sort","required":false,"in":"query","description":"updated (default): the most recently edited first. popular: the most generated with over the last 7 days first.","schema":{"enum":["updated","popular"],"type":"string"}}],"responses":{"200":{"description":"Situations list successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSituations"}}}},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get paginated situations w/ filters","tags":["Situations"]}},"/v1/situations/mine":{"get":{"operationId":"getMySituations","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"pageSize","required":false,"in":"query","schema":{"default":50,"type":"number"}}],"responses":{"200":{"description":"Workspace situations successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSituations"}}}},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get paginated situations linked to workspace","tags":["Situations"]}},"/v1/situations/{situationId}":{"get":{"operationId":"getSituation","parameters":[{"name":"situationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Situation successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SituationDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Situation not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get situation by ID","tags":["Situations"]}},"/v1/social/accounts":{"get":{"operationId":"listSocialAccounts","parameters":[{"name":"platform","required":false,"in":"query","description":"Social platform to list; omit to list both platforms","schema":{"enum":["x","tiktok"],"type":"string"}},{"name":"productId","required":false,"in":"query","description":"Brand to check account access for","schema":{"format":"uuid","type":"string"}},{"name":"page","required":false,"in":"query","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"pageSize","required":false,"in":"query","schema":{"minimum":1,"maximum":100,"default":50,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialAccountsResponseDto"}}}},"400":{"description":"Invalid query or brand outside this workspace"},"403":{"description":"Authentication error"}},"security":[{"basic":[]}],"summary":"List saved social accounts and optional brand access","tags":["SocialAccounts"]}},"/v1/social/posts":{"get":{"operationId":"list","parameters":[{"name":"platform","required":true,"in":"query","schema":{"enum":["x","tiktok"],"type":"string"}},{"name":"productId","required":false,"in":"query","description":"Required for X; the brand whose enabled account is read.","schema":{"format":"uuid","type":"string"}},{"name":"connectionId","required":false,"in":"query","description":"Connection ID from account discovery; required when the brand has several X accounts.","schema":{"format":"uuid","type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"minimum":1,"maximum":50,"default":10,"type":"number"}},{"name":"cursor","required":false,"in":"query","description":"The nextCursor returned by a previous read of this account.","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Read recent posts and media from a connected X or TikTok account","tags":["ConnectedPosts"]}},"/v1/social/posts/tiktok/media":{"post":{"operationId":"getVideoMedia","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectedVideoMediaDto"}}}},"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Retrieve playable media for one owned TikTok video","tags":["ConnectedPosts"]}},"/v1/social/tiktok/drafts":{"post":{"operationId":"prepareDraft","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTikTokDraftDto"}}}},"responses":{"400":{"description":"Invalid video or brand"},"403":{"description":"TikTok is not available for this account"},"409":{"description":"The TikTok account must be reconnected, or cannot post now"}},"security":[{"basic":[]}],"summary":"Prepare a TikTok post draft for the widget to show and confirm","tags":["TikTokPosts"]}},"/v1/social/tiktok/drafts/{id}/confirm":{"post":{"operationId":"confirmDraft","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmTikTokDraftDto"}}}},"responses":{"400":{"description":"Invalid settings"},"403":{"description":"Missing or invalid confirmation token"},"409":{"description":"The draft is no longer awaiting confirmation"}},"security":[{"basic":[]}],"summary":"Confirm a TikTok post draft with the settings chosen in the widget","tags":["TikTokPosts"]}},"/v1/social/tiktok/posts/{id}":{"get":{"operationId":"getStatus","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"404":{"description":"No such post for this user"}},"security":[{"basic":[]}],"summary":"Read the publishing status of a TikTok post","tags":["TikTokPosts"]}},"/v1/social-posts/search":{"post":{"description":"\n      Searches the platforms for a topic (`queries`) or pulls known accounts'\n      latest posts (`handles`), screens them for relevance against the brand\n      when `productId` is given, ranks them by trending score, and returns the\n      kept posts with signed media urls. Billed in credits per provider call.\n    ","operationId":"search","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchSocialPostsDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchSocialPostsResponseDto"}}}}},"security":[{"basic":[]}],"summary":"Scan TikTok, Instagram and X for what is working organically","tags":["Social posts"]}},"/v1/social-posts/lookup":{"post":{"description":"\n      Resolves each link (short links included) to the post, its author and its\n      metrics, with signed media urls. Billed in credits per provider call.\n    ","operationId":"lookup","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupSocialPostsDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupSocialPostsResponseDto"}}}}},"security":[{"basic":[]}],"summary":"Look up TikTok, Instagram or X posts from their links","tags":["Social posts"]}},"/v1/social-posts/comments":{"post":{"description":"\n      Returns the first page of comments (TikTok, Instagram) or replies (X),\n      sorted by likes. Billed in credits per provider call.\n    ","operationId":"comments","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialPostCommentsDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialPostCommentsResponseDto"}}}}},"security":[{"basic":[]}],"summary":"Read the top comments on a post, or the replies to a tweet","tags":["Social posts"]}},"/v1/social-posts/import":{"post":{"description":"\n      Downloads the video (or photo) behind an Instagram, TikTok or YouTube\n      Shorts post, or a Meta Ad Library ad, and files it as an asset in the\n      brand. Use the returned `assetId` anywhere an Arcads video asset is\n      accepted: inspect it, analyse it, or use it as a source. A post imported\n      before comes back as `reused` without a second download. Free of\n      credits, limited per workspace.\n    ","operationId":"importPosts","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportSocialPostsDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportSocialPostsResponseDto"}}}}},"security":[{"basic":[]}],"summary":"Import the video of a social post as an Arcads asset","tags":["Social posts"]}},"/v1/assets/add-to-project":{"post":{"description":"\n      Associates an existing video asset with a project.\n      \n      **Features:**\n      - Links a video asset to a specific project\n      - Validates asset and project ownership\n      - Supports both public and workspace-owned assets\n      \n      **Authentication:** Requires Basic Auth with client credentials\n      \n      **Note:** The asset must exist and be accessible to the workspace, and the project must belong to the workspace.\n    ","operationId":"addAssetToProject","parameters":[],"requestBody":{"required":true,"description":"Asset and project identifiers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddAssetToProjectDto"}}}},"responses":{"201":{"description":"Asset successfully added to project","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetOperationResponseDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Project or asset not found"},"500":{"description":"Internal server error"}},"security":[{"basic":[]}],"summary":"Add an asset to a project","tags":["Any Assets"]}},"/v1/assets/remove-from-project":{"post":{"description":"\n      Removes the association between a video asset and a project.\n      \n      **Features:**\n      - Unlinks a video asset from a specific project\n      - Validates asset and project ownership\n      - Supports both public and workspace-owned assets\n      \n      **Authentication:** Requires Basic Auth with client credentials\n      \n      **Note:** The asset must exist and be accessible to the workspace, and the project must belong to the workspace. If the asset is not associated with the project, the operation will still succeed.\n    ","operationId":"removeAssetFromProject","parameters":[],"requestBody":{"required":true,"description":"Asset and project identifiers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveAssetFromProjectDto"}}}},"responses":{"201":{"description":"Asset successfully removed from project","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetOperationResponseDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Project or asset not found"},"500":{"description":"Internal server error"}},"security":[{"basic":[]}],"summary":"Remove an asset from a project","tags":["Any Assets"]}},"/v1/assets":{"get":{"description":"\n      Lists the assets of one brand, or of every brand in the workspace when\n      `productId` is omitted, newest first, with an optional full-text\n      search over titles, prompts and scripts. Each asset carries its\n      `productId` and `productName`.\n\n      **Filters:** `q` (free text), `kind` (video / photo),\n      `aspectRatio` (9:16, 1:1, 16:9) and `origin` (where the asset came\n      from: generated, uploaded, a connector...).\n\n      **Note:** the workspace is taken from the credentials, so only that\n      workspace's assets are ever returned.\n    ","operationId":"searchAssets","parameters":[{"name":"q","required":false,"in":"query","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"origin","required":false,"in":"query","schema":{"enum":["all","uploaded","generated","mcp","google_drive","dropbox","broll"],"type":"string"}},{"name":"aspectRatio","required":false,"in":"query","schema":{"enum":["9:16","1:1","16:9"],"type":"string"}},{"name":"kind","required":false,"in":"query","schema":{"enum":["video","photo"],"type":"string"}},{"name":"productId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"One page of the library, plus the per-origin counts.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetsLibraryPageDto"}}}}},"security":[{"basic":[]}],"summary":"Search the workspace's asset library","tags":["Any Assets"]}},"/v1/assets/{id}":{"get":{"description":"\n      Retrieves a video asset by its unique identifier.\n      \n      **Features:**\n      - Returns complete video asset information\n      - Supports both public and workspace-owned assets\n      - Includes URLs for video, thumbnail, and metadata\n      \n      **Authentication:** Requires Basic Auth with client credentials\n      \n      **Note:** The asset must exist and be accessible to the workspace (either owned by the workspace or public).\n    ","operationId":"getAssetById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Video asset successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetResponseDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Video asset not found"},"500":{"description":"Internal server error"}},"security":[{"basic":[]}],"summary":"Get a video asset by ID","tags":["Any Assets"]}},"/v1/assets/{id}/title":{"patch":{"description":"\n      Sets the title an asset shows in the library and the name its file\n      downloads under. A null or blank title clears it.\n\n      Two assets of a brand never share a title. When another one has it,\n      the rename is refused with a 409 listing the titles the brand uses for\n      its versions, or with `ifTaken: \"number\"` the asset takes the first\n      free \"title (n)\".\n\n      **Authentication:** Requires Basic Auth with client credentials\n    ","operationId":"renameAsset","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"The title now on the asset (null once cleared)"},"404":{"description":"Asset not found"},"409":{"description":"Another asset of the brand has this title; `similarTitles` lists the ones in use"}},"security":[{"basic":[]}],"summary":"Rename an asset","tags":["Any Assets"]}},"/v1/assets/{id}/similar-titles":{"get":{"description":"\n      The titles the asset's brand already uses for the versions and takes of\n      the asset's title (or of `title`, when given), newest first. Lets a\n      client name a new take after the convention they follow.\n\n      **Authentication:** Requires Basic Auth with client credentials\n    ","operationId":"findSimilarTitles","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"title","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"The titles in use, newest first"},"404":{"description":"Asset not found"}},"security":[{"basic":[]}],"summary":"List the titles used for the versions of an asset","tags":["Any Assets"]}},"/v1/assets/{id}/download":{"post":{"description":"\n      Returns a signed link that downloads a ready asset's file instead of\n      opening it, and records the download.\n\n      **Authentication:** Requires Basic Auth with client credentials\n\n      **Note:** The asset must be ready (generated or uploaded) to be downloaded.\n    ","operationId":"getAssetDownloadLink","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Signed download URL the client can navigate to"},"403":{"description":"Authentication error"},"404":{"description":"Asset not found"},"422":{"description":"Asset is not ready yet"},"500":{"description":"Internal server error"}},"security":[{"basic":[]}],"summary":"Get asset download link","tags":["Any Assets"]}},"/v1/assets/{id}/watch":{"get":{"description":"\n      Retrieves a direct download link for a video asset if it's fully generated.\n\n      **Features:**\n      - Returns a signed URL for direct download\n      - Supports both public and workspace-owned assets\n      - Validates asset generation status\n\n      **Authentication:** Requires Basic Auth with client credentials\n\n      **Note:** The asset must be fully generated (status: GENERATED) to get the download link.\n    ","operationId":"getAssetWatchLink","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"302":{"description":"Asset successfully retrieved and redirected to download URL"},"403":{"description":"Authentication error"},"404":{"description":"Asset not found"},"422":{"description":"Asset has not been generated yet"},"500":{"description":"Internal server error"}},"security":[{"basic":[]}],"summary":"Get asset watch link","tags":["Any Assets"]}},"/v1/audio-driven":{"post":{"operationId":"generateAudioDriven","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAudioDrivenDto"}}}},"responses":{"201":{"description":"Audio driven generation completed with detailed results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudioDrivenGenerationResultDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Script not found"},"422":{"description":"Generation request was refused (blocked by moderation, no videos to generate, or script cannot be generated)"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Trigger Audio driven generation","tags":["AudioDriven"]}},"/v1/b-roll":{"post":{"description":"\n      Generate a B-roll video asset based on the provided prompt and parameters.\n      \n      **Features:**\n      - Generate videos from text prompts\n      - Support for reference images (base64 encoded)\n      - Support for start frame images (base64 encoded)\n      - Multiple aspect ratios (16:9, 1:1, 9:16)\n      - Video durations of 5 or 10 seconds\n      \n      **Authentication:** Requires Basic Auth with client credentials\n      \n      **Note:** Either refImageAsBase64 OR startFrameAsBase64 can be provided, but not both.\n    ","operationId":"createBRoll","parameters":[],"requestBody":{"required":true,"description":"B-roll video generation parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBRollDto"}}}},"responses":{"201":{"description":"B-roll video asset successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BRollVideoAssetResponseDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Product or project not found"},"422":{"description":"Validation error or content blocked by moderation"},"500":{"description":"Internal server error"}},"security":[{"basic":[]}],"summary":"Create a B-roll video asset","tags":["B-Roll Assets"]}},"/v1/omnihuman":{"post":{"operationId":"generateOmniHuman","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOmniHumanDto"}}}},"responses":{"201":{"description":"Omnihuman generation completed with detailed results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OmniHumanGenerationResultDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Script not found"},"422":{"description":"Generation request was refused (blocked by moderation, no videos to generate, or script cannot be generated)"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Trigger Omnihuman generation","tags":["OmniHuman"]}},"/v1/scene":{"post":{"description":"\n      Generate a scene video asset based on the provided script, prompt and parameters.\n      \n      **Features:**\n      - Generate videos from text scripts and prompts\n      - Support for context scripts and prompts for continuity\n      - Support for reference images (base64 encoded)\n      - Support for start frame images (base64 encoded)\n      - Multiple aspect ratios (16:9, 1:1, 9:16)\n      - Optional project association\n      \n      **Authentication:** Requires Basic Auth with client credentials\n      \n      **Note:** Either refImageAsBase64 OR startFrameAsBase64 can be provided, but not both.\n    ","operationId":"createScene","parameters":[],"requestBody":{"required":true,"description":"Scene video generation parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSceneDto"}}}},"responses":{"201":{"description":"Scene video asset successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SceneVideoAssetResponseDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Product or project not found"},"422":{"description":"Validation error or content blocked by moderation"},"500":{"description":"Internal server error"}},"security":[{"basic":[]}],"summary":"Create a scene video asset","tags":["Scene Assets"]}},"/v1/creators/search":{"post":{"description":"\n      Searches one platform for creators matching `keyword`, or lookalikes of\n      `similarTo` (exactly one of the two), screens them for fit against the\n      brand (`productId`), and returns a ranked shortlist. Billed in credits\n      per search. Limited to 10 searches per minute and 100 per hour per\n      workspace; past that the call answers 429, or a `rate_limited` status.\n    ","operationId":"searchCreators","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchCreatorsDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchCreatorsResponseDto"}}}}},"security":[{"basic":[]}],"summary":"Find creators on a platform, by keyword or lookalike search","tags":["Creators"]}},"/v1/creators/stats":{"post":{"description":"\n      Returns followers, country, verification, lifetime totals and a fresh\n      recent-activity read for one named creator. Billed in credits per lookup.\n      Shares a limit of 30 stats and email calls per minute per workspace.\n    ","operationId":"getCreatorStats","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCreatorStatsDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCreatorStatsResponseDto"}}}}},"security":[{"basic":[]}],"summary":"Look up one creator's public stats","tags":["Creators"]}},"/v1/creators/emails":{"post":{"description":"\n      Looks up a public business email for each creator in the batch (1-20 per\n      call). Coverage varies by platform. Billed in credits per lookup. Shares a\n      limit of 30 stats and email calls per minute per workspace.\n    ","operationId":"findCreatorEmails","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindCreatorEmailDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindCreatorEmailResponseDto"}}}}},"security":[{"basic":[]}],"summary":"Look up the public contact email of a batch of creators","tags":["Creators"]}},"/v1/creators/show":{"post":{"description":"\n      Returns the stored profile, avatar and fit verdict of each picked creator\n      (1-20), in pick order, so a client can show the final shortlist once.\n      Only creators already shown to this brand are returned; other picks come back in `unresolved`. Free: no\n      provider call is made.\n    ","operationId":"showCreators","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShowCreatorsDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShowCreatorsResponseDto"}}}}},"security":[{"basic":[]}],"summary":"Reload picked creators for display","tags":["Creators"]}},"/v1/video-templates":{"get":{"description":"\n      Customer card of each live template (name, pitch, \"What it does\", preview\n      with signed links). Limited to\n      30 calls per minute per workspace.\n    ","operationId":"catalog","parameters":[],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Live video templates the caller may use, grouped by category, in order","tags":["Video Templates"]}},"/v1/video-templates/{slug}/readiness":{"post":{"description":"\n      Read-only. Lists the brand's products with their photo counts, the\n      template's lengths with their credits, and every input still missing\n      before a run can make the video in one go, each with what to ask the\n      user. With a productUrl, the run reads that page instead of a saved\n      product, so the product, its description and its photo are not missing. Limited to\n      30 calls per minute per\n      workspace.\n    ","operationId":"readiness","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTemplateRunInputDto"}}}},"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"What a run of this template still needs, and its price","tags":["Video Templates"]}},"/v1/video-templates/{slug}/actors":{"get":{"description":"\n      Read-only. The faces the app's actor picker offers for this template:\n      its own actors first, then the actor library, at most 40; none when the\n      template has no actor slot. Pass the chosen assetId as actorAssetId.\n      thumbnailUrl and previewUrl are signed links\n      that expire. Limited to 30\n      calls per minute per workspace.\n    ","operationId":"actors","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"The actors a run of this template can cast","tags":["Video Templates"]}},"/v1/video-templates/{slug}/runs":{"post":{"description":"\n      Checks the run again, then starts Mark on it in the background: Mark\n      makes the video in one go, in a conversation kept out of the user's Agent\n      sidebar. 422 lists the inputs still missing, 402 means the workspace\n      cannot pay for the run. Needs a user signed in through the Arcads MCP.\n      Limited to 5 runs per minute\n      per workspace.\n    ","operationId":"createRun","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVideoTemplateRunDto"}}}},"responses":{"202":{"description":""}},"security":[{"basic":[]}],"summary":"Make a video from this template","tags":["Video Templates"]}},"/v1/video-templates/runs/{runId}":{"get":{"description":"\n      queued, running (the videos rendering so far are in \"assets\"),\n      needs_input (Mark stopped without a video: \"message\" is what it said),\n      done (Mark finished: the last video in \"assets\" is the final cut) or\n      failed. \"stage\" is setting_up_brand, writing_script, rendering or\n      editing while the run is going, and \"progress\" carries the current step,\n      the last steps, the Brand Memory facets saved since the run started, and\n      the product photos and logo saved during the scrape (each \"url\" is a\n      signed link that expires). Returns the videos' asset\n      ids, never the recipe Mark used. Limited to\n      120 calls per minute per\n      workspace.\n    ","operationId":"runStatus","parameters":[{"name":"runId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"summary":"Where a video template run stands","tags":["Video Templates"]}},"/v1/scripts/{scriptId}/videos":{"get":{"operationId":"getScriptVideos","parameters":[{"name":"scriptId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Videos successfully retrieved for script","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VideoDto"}}}}},"403":{"description":"Authentication error"},"404":{"description":"Script not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get videos for given script","tags":["Scripts"]}},"/v1/scripts/{scriptId}":{"get":{"operationId":"getScript","parameters":[{"name":"scriptId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Script successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScriptDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Script not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get script by ID","tags":["Scripts"]},"put":{"operationId":"updateScript","parameters":[{"name":"scriptId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScriptUpdateDto"}}}},"responses":{"200":{"description":"Script successfully updated","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Script not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Update script with given ID","tags":["Scripts"]},"delete":{"operationId":"deleteScript","parameters":[{"name":"scriptId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Script successfully deleted","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Script not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Delete script by ID","tags":["Scripts"]}},"/v1/scripts":{"post":{"description":"Create a new script. You can specify either:\n    - folderId only: A new project will be created in that folder\n    - projectId only: The script will be added to the existing project\n    - Both folderId and projectId: The script will be added to the project, but only if the project belongs to that folder\n    \n    At least one of folderId or projectId must be provided.","operationId":"createScript","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScriptCreationDto"}}}},"responses":{"201":{"description":"Script successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScriptDto"}}}},"400":{"description":"Invalid input: missing both folderId and projectId, project does not belong to the specified folder, or name longer than 100 characters"},"403":{"description":"Authentication error"},"404":{"description":"Folder, project, situation, or voice not found. Error message specifies which resource: FOLDER_NOT_FOUND, PROJECT_NOT_FOUND, SITUATION_NOT_FOUND, VOICE_NOT_FOUND"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Create new script within folder or project","tags":["Scripts"]}},"/v1/scripts/{scriptId}/generate":{"post":{"operationId":"generateScriptVideos","parameters":[{"name":"scriptId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Videos generation successfully triggered","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Script not found"},"422":{"description":"Generation request was refused for one of the following reasons (explicited in error msg): script was blocked by generation, contains forbidden actors, has no videos to generate or requires more credits than the workspace has"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Trigger videos generation for the given script","tags":["Scripts"]}},"/v1/scripts/{scriptId}/duplicate":{"post":{"operationId":"duplicateScript","parameters":[{"name":"scriptId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Script successfully duplicated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScriptDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Script not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Duplicate script w/ given ID","tags":["Scripts"]}},"/v1/scripts/{scriptId}/new-version":{"post":{"operationId":"createNewVersion","parameters":[{"name":"scriptId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"New version successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScriptDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Script not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Create new version of script w/ given ID","tags":["Scripts"]}},"/v1/scripts/{scriptId}/generate-omnihuman":{"post":{"operationId":"generateScriptOmniHuman","parameters":[{"name":"scriptId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"Omnihuman generation completed with detailed results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OmniHumanGenerationResultDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Script not found"},"422":{"description":"Generation request was refused (blocked by moderation, no videos to generate, or script cannot be generated)"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Trigger omnihuman generation for the given script","tags":["Scripts"]}},"/v1/videos":{"get":{"description":"Returns a flat, paginated list of every video in your workspace. Supports filtering by product, folder, script, status, script text, and an `updatedSince` cursor for incremental sync, plus sorting.","operationId":"listVideos","parameters":[{"name":"page","required":false,"in":"query","description":"Page number (1-based)","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"pageSize","required":false,"in":"query","description":"Number of items per page","schema":{"maximum":50,"default":50,"type":"number"}},{"name":"productId","required":false,"in":"query","description":"Only return videos belonging to this product","schema":{"type":"string"}},{"name":"folderId","required":false,"in":"query","description":"Only return videos belonging to this folder","schema":{"type":"string"}},{"name":"scriptId","required":false,"in":"query","description":"Only return videos belonging to this script","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Only return videos with this status","schema":{"enum":["processing","completed","failed"],"type":"string"}},{"name":"updatedSince","required":false,"in":"query","description":"Only return videos updated at or after this instant (ISO 8601). Use for incremental sync.","schema":{"format":"date-time","type":"string"}},{"name":"q","required":false,"in":"query","description":"Only return videos whose script text contains this term (case-insensitive)","schema":{"type":"string"}},{"name":"sortBy","required":false,"in":"query","description":"Field to sort by","schema":{"default":"createdAt","enum":["createdAt","updatedAt"],"type":"string"}},{"name":"sortOrder","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","enum":["asc","desc"],"type":"string"}}],"responses":{"200":{"description":"Videos successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedVideos"}}}},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"List videos for your workspace","tags":["Videos"]},"post":{"operationId":"createVideo","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoCreationDto"}}}},"responses":{"201":{"description":"Video successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Script not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Create new video for given script","tags":["Videos"]}},"/v1/videos/{videoId}":{"get":{"operationId":"getVideo","parameters":[{"name":"videoId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Video successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Video not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get video by ID","tags":["Videos"]},"put":{"operationId":"updateVideo","parameters":[{"name":"videoId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoUpdateDto"}}}},"responses":{"200":{"description":"Video successfully updated","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Video not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Update video with given ID","tags":["Videos"]},"delete":{"operationId":"deleteVideo","parameters":[{"name":"videoId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Video successfully deleted","content":{"application/json":{"schema":{"type":"boolean"}}}},"403":{"description":"Authentication error"},"404":{"description":"Video not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Delete video by ID","tags":["Videos"]}},"/v1/videos/{videoId}/watch":{"get":{"operationId":"getVideoLink","parameters":[{"name":"videoId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Video successfully retrieved","content":{"application/json":{"schema":{"type":"string"}}}},"403":{"description":"Authentication error"},"404":{"description":"Video not found"},"422":{"description":"Video has not been generated yet"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get video watch link","tags":["Videos"]}},"/v1/videos/{videoId}/download":{"post":{"description":"Returns a signed URL that downloads the video file instead of opening it, and records the download.","operationId":"getVideoDownloadLink","parameters":[{"name":"videoId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Signed download URL the client can navigate to"},"403":{"description":"Authentication error"},"404":{"description":"Video not found"},"422":{"description":"Video has not been generated yet"},"500":{"description":"Internal server error"}},"security":[{"basic":[]}],"summary":"Get video download link","tags":["Videos"]}},"/health":{"get":{"operationId":"check","parameters":[],"responses":{"200":{"description":""}},"tags":["Health"]}},"/health/release":{"get":{"operationId":"release","parameters":[],"responses":{"200":{"description":""}},"tags":["Health"]}},"/health/timeout-test":{"get":{"operationId":"timeoutTest","parameters":[],"responses":{"200":{"description":""}},"tags":["Health"]}},"/v1/voices/clone":{"post":{"description":"Creates a temporary custom voice, kept 24 hours, usable as voiceId in every voice tool. Costs credits unless the plan includes voice cloning; the credits are refunded when the clone fails.","operationId":"cloneVoice","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloneVoiceDto"}}}},"responses":{"201":{"description":"Voice successfully cloned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceDto"}}}},"400":{"description":"Invalid request"},"402":{"description":"Not enough credits"},"403":{"description":"Authentication error"},"422":{"description":"The samples cannot be used to clone a voice"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Clone a voice from audio or video samples","tags":["Voices"]}},"/v1/voices/{voiceId}":{"get":{"operationId":"getVoice","parameters":[{"name":"voiceId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Voice successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Voice not found"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get voice by ID","tags":["Voices"]}},"/v1/voices":{"get":{"operationId":"getVoices","parameters":[{"name":"page","required":false,"in":"query","schema":{"default":1,"type":"number"}},{"name":"pageSize","required":false,"in":"query","schema":{"default":50,"type":"number"}},{"name":"age","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"language","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"gender","required":false,"in":"query","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Voices list successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedVoices"}}}},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Get paginated voices w/ filters","tags":["Voices"]}},"/v1/voices/mine":{"delete":{"operationId":"deleteWorkspaceVoices","parameters":[],"responses":{"200":{"description":"Workspace voices deleted"},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Delete all workspace voices","tags":["Voices"]}},"/v1/workflows/runs/{runId}":{"get":{"operationId":"getWorkflowRun","parameters":[{"name":"runId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"tags":["WorkflowRunsPublic"]}},"/v1/workflows/{workflowId}/webhook":{"post":{"operationId":"triggerWorkflowWebhook","parameters":[{"name":"workflowId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":""}},"tags":["WorkflowWebhook"]}},"/v1/workflows/{workflowId}/runs":{"get":{"operationId":"listWorkflowRuns","parameters":[{"name":"workflowId","required":true,"in":"path","schema":{"type":"string"}},{"name":"limit","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"basic":[]}],"tags":["Workflows"]}},"/v1/workflows/notion/generate-video-from-script-template":{"post":{"operationId":"useWorkflowFromNotion","parameters":[],"responses":{"201":{"description":""}},"security":[{"basic":[]}],"tags":["Workflows"]}},"/v1/music/generate":{"post":{"operationId":"generate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateMusicDto"}}}},"responses":{"201":{"description":""}},"security":[{"basic":[]}],"summary":"Generate a music track with ElevenLabs or Suno v6","tags":["Music"]}},"/v1/omni-flash/generate/video":{"post":{"operationId":"startVideo","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartOmniFlashDto"}}}},"responses":{"201":{"description":""}},"security":[{"basic":[]}],"summary":"Trigger Gemini Omni Flash video generation or editing","tags":["OmniFlash"]}},"/v2/talking-actors/generate":{"post":{"operationId":"generate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateTalkingActorsDto"}}}},"responses":{"201":{"description":"Generation started","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GenerationResultItemDto"}}}}}},"security":[{"basic":[]}],"summary":"Generate talking actor videos","tags":["Talking Actors v2"]}},"/v2/talking-actors/{id}":{"get":{"operationId":"getStatus","parameters":[{"name":"id","required":true,"in":"path","description":"Generation ID","schema":{"type":"string"}}],"responses":{"200":{"description":"Generation status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TalkingActorStatusDto"}}}}},"security":[{"basic":[]}],"summary":"Get talking actor generation status","tags":["Talking Actors v2"]}},"/v2/talking-actors/{id}/watch":{"get":{"operationId":"getWatchUrl","parameters":[{"name":"id","required":true,"in":"path","description":"Generation ID","schema":{"type":"string"}}],"responses":{"302":{"description":"Redirect to watch URL"}},"security":[{"basic":[]}],"summary":"Get talking actor watch URL","tags":["Talking Actors v2"]}},"/v1/veo31/generate/video":{"post":{"operationId":"startVideo","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartVeo31Dto"}}}},"responses":{"201":{"description":""}},"security":[{"basic":[]}],"summary":"Trigger Veo31 text-to-video generation","tags":["Veo31"]}},"/v1/file-upload/get-presigned-url":{"post":{"operationId":"generatePresignedUrl","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratePresignedUrlDto"}}}},"responses":{"201":{"description":"Presigned URL successfully generated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresignedUrlResponseDto"}}}},"400":{"description":"Invalid file type"},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Generate presigned URL for file upload","tags":["File Upload"]}},"/v1/file-upload/create-asset":{"post":{"description":"\n      Creates a media library asset from a file previously uploaded via the get-presigned-url endpoint.\n\n      **Usage flow:**\n      1. Call `POST /v1/file-upload/get-presigned-url` to get a presigned URL and `filePath`\n      2. Upload the file directly to S3 using the presigned URL (PUT request)\n      3. Call this endpoint with the returned `filePath` and a `productId` to register the file as an asset\n\n      **Authentication:** Requires Basic Auth with client credentials\n    ","operationId":"createAssetFromUpload","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssetFromUploadDto"}}}},"responses":{"201":{"description":"Asset successfully created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetResponseDto"}}}},"400":{"description":"Invalid file path or unsupported file type"},"403":{"description":"Authentication error"},"500":{"description":"Unknown error"}},"security":[{"basic":[]}],"summary":"Create an asset from an uploaded file","tags":["File Upload"]}},"/v1/credits":{"get":{"operationId":"getBalance","parameters":[],"responses":{"200":{"description":"Credit balance successfully retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsBalanceDto"}}}},"403":{"description":"Authentication error"},"404":{"description":"Workspace not found"}},"security":[{"basic":[]}],"summary":"Get the workspace's credit balance and what MCP spent this period","tags":["Credits"]}}},"info":{"title":"Arcads' external API","description":"","version":"1.0","contact":{}},"tags":[],"servers":[],"components":{"securitySchemes":{"basic":{"type":"http","scheme":"basic"}},"schemas":{"CredentialsCreationDto":{"type":"object","properties":{"secretKey":{"type":"string","description":"The ElevenLabs API key"}},"required":["secretKey"]},"CredentialsDto":{"type":"object","properties":{"id":{"type":"string","description":"The id of the credentials"},"obfuscatedSecret":{"type":"string","description":"The ElevenLabs API key"},"createdAt":{"format":"date-time","type":"string","description":"The date the credentials were created"},"deletedAt":{"type":"object","description":"The date the credentials were deleted"}},"required":["id","obfuscatedSecret","createdAt","deletedAt"]},"ScriptVideoDto":{"type":"object","properties":{"situationId":{"type":"string","description":"The situation ID of the video"},"voiceId":{"type":"string","description":"The voice ID of the video"}},"required":["situationId"]},"ScriptDto":{"type":"object","properties":{"folderId":{"type":"string","description":"The folder ID where the script will be created. Required if projectId is not provided. If both folderId and projectId are provided, the project must belong to this folder."},"projectId":{"type":"string","description":"The project ID where the script will be created. Required if folderId is not provided. If provided, the project must belong to the workspace."},"name":{"type":"string","description":"The name of the script","maxLength":100},"text":{"type":"string","description":"The text of the script"},"videos":{"description":"The videos of the script","type":"array","items":{"$ref":"#/components/schemas/ScriptVideoDto"}},"id":{"type":"string","description":"The ID of the script"},"version":{"type":"number","description":"The version of the script"},"isActiveVersion":{"type":"boolean","description":"Whether or not this is the latest version of this script"}},"required":["name","text","id","version","isActiveVersion"]},"PaginatedScripts":{"type":"object","properties":{"count":{"type":"number","description":"Total number of scripts matching the provided criteria"},"items":{"description":"List of scripts matching the provided criteria and the pagination params","type":"array","items":{"$ref":"#/components/schemas/ScriptDto"}}},"required":["count","items"]},"FolderDto":{"type":"object","properties":{"name":{"type":"string","description":"The name of the folder"},"productId":{"type":"string","description":"The product ID of the folder"},"createdFromPage":{"type":"string","enum":["dashboard","workflow","agent"],"description":"The page where the folder was created"},"id":{"type":"string","description":"The ID of the folder"},"userId":{"type":"string","description":"The user ID of the folder"},"projects":{"type":"array","description":"Projects in the folder","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}}}},"required":["name","id","userId"]},"FolderCreationDto":{"type":"object","properties":{"name":{"type":"string","description":"The name of the folder"},"productId":{"type":"string","description":"The user ID of the folder"},"createdFromPage":{"type":"string","enum":["dashboard","workflow","agent"],"description":"The page where the folder was created"}},"required":["name"]},"FolderNameUpdateDto":{"type":"object","properties":{"name":{"type":"string","description":"The name of the folder"}},"required":["name"]},"CreateImageDto":{"type":"object","properties":{"model":{"type":"string","description":"The model used to generate the image","enum":["gpt-image","gpt-image-2","gpt-image-2-5-flare","gpt-image-2-5-sunburst","gpt-image-2-6-flare","gpt-image-2-6-sunburst","flux_3_1","nano-banana","nano-banana-2","nano-banana-2-1","soul","grok_image","seedream","seedream_5_lite","seedream_5_pro","seedream_5_5"],"example":"gpt-image"},"productId":{"type":"string","description":"The ID of the product","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"prompt":{"type":"string","description":"The prompt for the image","example":"A futuristic city skyline at sunset"},"aspectRatio":{"type":"string","description":"The aspect ratio of the image. Every model takes 21:9, 16:9, 4:3, 1:1, 3:4, 9:16. These models also take:\n  - nano-banana: 2:3, 3:2, 4:5\n  - nano-banana-2: 2:3, 3:2, 4:5\n  - gpt-image-2: 2:3, 3:2, 4:5, 1:2, 2:1\n  - gpt-image-2-5-flare: 2:3, 3:2, 4:5, 1:2, 2:1\n  - gpt-image-2-5-sunburst: 2:3, 3:2, 4:5, 1:2, 2:1\n  - gpt-image-2-6-flare: 2:3, 3:2, 4:5, 1:2, 2:1\n  - gpt-image-2-6-sunburst: 2:3, 3:2, 4:5, 1:2, 2:1\n  - flux_3_1: 2:3, 3:2, 4:5, 1:2, 2:1","example":"16:9","enum":["21:9","16:9","4:3","1:1","3:4","9:16","2:3","3:2","4:5","1:2","2:1"]},"referenceImages":{"description":"The links to reference images. Upload files via presigned URL endpoint first and pass returned file paths here.\nMax reference images per model:\n  - gpt-image: 5\n  - gpt-image-2: 5\n  - gpt-image-2-5-flare: 16\n  - gpt-image-2-5-sunburst: 16\n  - gpt-image-2-6-flare: 16\n  - gpt-image-2-6-sunburst: 16\n  - flux_3_1: 10\n  - nano-banana: 14\n  - nano-banana-2: 14\n  - nano-banana-2-1: 14\n  - soul: 0\n  - grok_image: 1\n  - seedream: 4\n  - seedream_5_lite: 4\n  - seedream_5_pro: 4\n  - seedream_5_5: 10","example":["/path/to/image1.jpg","/path/to/image2.jpg"],"type":"array","items":{"type":"string"}},"nbGenerations":{"type":"number","description":"Number of generations for SOUL model","example":3,"minimum":1,"maximum":10},"enhance":{"type":"boolean","description":"When true, the prompt is enhanced by Claude before generation. Costs an additional 8 credits. Only applies to eligible asset types."}},"required":["model","productId","prompt","aspectRatio"]},"VideoElementDto":{"type":"object","properties":{"frontalImage":{"type":"string","description":"Path to the frontal image of the element — its main view.","example":"tmp/element-front.jpg"},"referenceImages":{"description":"Paths to 1 to 3 images of the same element from other angles.","example":["tmp/element-side.jpg"],"type":"array","items":{"type":"string"}}},"required":["frontalImage","referenceImages"]},"CreateVideoDto":{"type":"object","properties":{"model":{"type":"string","description":"The model used to generate the video.\nDeprecated models keep working, served by their replacement:\n  - kling-2.6 is deprecated and served by kling-3.0; use kling-3.0. It takes the same inputs.\n  - seedance is deprecated and served by seedance-2.0; use seedance-2.0. Audio is on unless audioEnabled is false, and the ending comes from the prompt, as seedance-2.0 takes no endFrame.\n  - happy-horse is deprecated and served by seedance-2.5; use seedance-2.5. A single reference image becomes the startFrame, a duration under 4 runs at 4, '1:1' renders as '4:3', and audio is on unless audioEnabled is false.","enum":["veo31","kling-2.6","kling-3.0","kling-4.0","kling-4.0-flash","grok-video","seedance","seedance-2.0","seedance-2.0-mini","seedance-2.5","seedance-2.5-flash","happy-horse","minimax-h3","minimax-h3-max","magi-2"],"example":"seedance-2.5"},"productId":{"type":"string","description":"The ID of the product","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"prompt":{"type":"string","description":"The prompt for the video","example":"A futuristic city skyline at sunset"},"aspectRatio":{"type":"string","description":"The aspect ratio of the video. Standard values: '1:1', '16:9', '9:16'. grok-video also supports 'auto'. seedance-2.0, seedance-2.5 and seedance-2.5-flash: '9:16', '4:3' or '16:9'; with a startFrame, seedance-2.5 and seedance-2.5-flash take the start frame's shape and the value sent is ignored. minimax-h3 and minimax-h3-max: '21:9', '16:9', '4:3', '1:1', '3:4', '9:16'. kling-4.0 and kling-4.0-flash: '9:16', '16:9', '1:1' or '21:9'. magi-2: '21:9', '16:9', '4:3', '1:1', '3:4', '9:16'; with a startFrame, magi-2 takes the start frame's shape and the value sent is ignored. veo31: '16:9' or '9:16' only.","example":"16:9"},"duration":{"type":"number","description":"Duration in seconds. Model-specific: kling-3.0: 3-15. grok-video: 1-15. seedance-2.0: 4-15. seedance-2.5 and seedance-2.5-flash: 4-30. minimax-h3/minimax-h3-max: 5-15. kling-4.0: 3-30. kling-4.0-flash: 3-20. magi-2: 4-30. veo31: not applicable.","example":5},"resolution":{"type":"string","description":"Video resolution. Model-specific: veo31: 720p/1080p/4K. grok-video: 480p/720p. seedance-2.0: 480p/720p/1080p/4K. seedance-2.5: 480p/720p/1080p/4K. seedance-2.5-flash: 480p/720p. minimax-h3: 480p/720p/1080p/4K. minimax-h3-max: 480p/720p. kling-4.0: 720p/1080p. kling-4.0-flash: 720p. magi-2: always 1080p, so leave it out. Other kling models: not applicable.","example":"720p"},"referenceImages":{"description":"The links to reference images. Upload files via presigned URL endpoint first and pass returned file paths here. kling-4.0 and kling-4.0-flash name them @Image1, @Image2 and so on in the prompt; magi-2 names them Image 1, Image 2 and so on.\nMax reference images per model:\n  - veo31: 3\n  - kling-4.0: 10\n  - kling-4.0-flash: 10\n  - seedance-2.0: 9\n  - seedance-2.0-mini: 9\n  - seedance-2.5: 30\n  - seedance-2.5-flash: 10\n  - minimax-h3: 9\n  - minimax-h3-max: 9\n  - magi-2: 10","example":["/path/to/image1.jpg"],"type":"array","items":{"type":"string"}},"referenceVideos":{"description":"The links to reference videos. Upload files via presigned URL endpoint first. kling-4.0 takes clips of 3-30s each and 30s together, kling-4.0-flash 3-20s each and 20s together, named @Video1, @Video2 and so on in the prompt. magi-2 takes clips of at least 2s each and 30s together, named Video 1, Video 2 and so on.\nMax reference videos per model:\n  - kling-4.0: 5\n  - kling-4.0-flash: 5\n  - seedance-2.0: 3\n  - seedance-2.0-mini: 3\n  - seedance-2.5: 10\n  - seedance-2.5-flash: 5\n  - minimax-h3: 3\n  - minimax-h3-max: 3\n  - magi-2: 5","example":["/path/to/video1.mp4"],"type":"array","items":{"type":"string"}},"elements":{"description":"Elements to keep consistent across the clip — a character or a product, each shown from several angles — named @Element1, @Element2 and so on in the prompt, in the order they are passed. Upload files via presigned URL endpoint first and pass returned file paths here. They travel with reference images, reference videos and frames.\nMax elements per model:\n  - kling-4.0: 7\n  - kling-4.0-flash: 7","type":"array","items":{"$ref":"#/components/schemas/VideoElementDto"}},"referenceAudios":{"description":"The links to reference audios. Upload files via presigned URL endpoint first. minimax-h3 and minimax-h3-max accept reference audio on its own with just a prompt, or alongside reference images and videos (12 reference files combined). magi-2 takes clips of at least 2s each and 30s together, named Audio 1, Audio 2 and so on in the prompt, e.g. a voice to speak with.\nMax reference audios per model:\n  - seedance-2.0: 3\n  - seedance-2.0-mini: 3\n  - seedance-2.5: 10\n  - seedance-2.5-flash: 5\n  - minimax-h3: 3\n  - minimax-h3-max: 3\n  - magi-2: 5","example":["/path/to/audio1.mp3"],"type":"array","items":{"type":"string"}},"audioEnabled":{"type":"boolean","description":"Enable audio output for the generated video. Only applicable for seedance-2.0, seedance-2.0-mini, seedance-2.5, seedance-2.5-flash and magi-2 (on by default for magi-2).","example":true},"bitrateMode":{"type":"string","description":"Encoding quality of the output file: 'standard' (default) or 'high' for a sharper, less compressed video at the same price and a larger file. Only applicable for seedance-2.5 and seedance-2.5-flash.","enum":["standard","high"],"example":"high"},"mode":{"type":"string","description":"'edit' changes the video in referenceVideos itself instead of generating a new one: its shots, cuts, camera moves, timing and sound carry over, and only what the prompt names changes (e.g. 'replace the bottle in @video1 with the bottle in @image1'); a new presenter in a talking-head ad, words kept, is the change_actor type. Supported by seedance-2.5, seedance-2.5-flash, kling-4.0 and kling-4.0-flash, with no aspectRatio, start/end frame, referenceAudios or elements: the result keeps the source's shape. seedance-2.5 and seedance-2.5-flash take exactly one referenceVideo (the video to edit, 4 to 30 seconds), optional referenceImages and no duration: the result keeps about the source's length. kling-4.0 takes the video to edit (3 to 30 seconds, at least 700px on each side, named @Video1) first in referenceVideos, then up to 4 videos the edit brings in (@Video2…, all together under 30 seconds), optional referenceImages (@Image1…) and an optional duration, which defaults to the source's length; it bills the videos it reads plus the output, at least twice the output. kling-4.0-flash edits the same way, with a 3 to 20 second source and every video together under 20 seconds.","enum":["edit"],"example":"edit"},"startFrame":{"type":"string","description":"Path to the start frame image (presigned URL path). Supported by: veo31, kling-3.0, kling-4.0, kling-4.0-flash, grok-video, minimax-h3, minimax-h3-max, seedance-2.5, seedance-2.5-flash, magi-2. minimax-h3, minimax-h3-max, seedance-2.5, seedance-2.5-flash and magi-2 take either a start frame (with an end frame where supported) or reference media per generation; kling-4.0 and kling-4.0-flash take frames and reference media together.","example":"tmp/start-frame.jpg"},"middleFrames":{"description":"Paths to up to 8 keyframe images (presigned URL paths) the video passes through between its start and end frame, in the order given. Supported by: kling-4.0, where reference images and every frame count together toward 10 images.","example":["tmp/keyframe-1.jpg","tmp/keyframe-2.jpg"],"type":"array","items":{"type":"string"}},"endFrame":{"type":"string","description":"Path to the end frame image (presigned URL path). Supported by: veo31, kling-3.0, kling-4.0, minimax-h3, minimax-h3-max, seedance-2.5, seedance-2.5-flash, magi-2 (requires startFrame).","example":"tmp/end-frame.jpg"},"enhance":{"type":"boolean","description":"When true, the prompt is enhanced by Claude before generation. Costs an additional 8 credits. Only applies to eligible asset types."}},"required":["model","productId","prompt"]},"PresetTypeDto":{"type":"object","properties":{"type":{"type":"string","description":"The preset type slug","enum":["camera-movement","gameplay-ad","gestures","showyourapp","unboxing-pov"],"example":"gestures"},"name":{"type":"string","description":"Human-readable name","example":"Gestures"},"description":{"type":"string","description":"Description of the preset type"}},"required":["type","name","description"]},"EmbeddedActorDto":{"type":"object","properties":{"id":{"type":"string","description":"The actor's ID"},"name":{"type":"string","description":"The actor's display name","example":"Sarah"},"gender":{"type":"string","description":"The actor's gender","enum":["Female","Male"],"example":"Female"},"age":{"type":"string","description":"The actor's age bracket","enum":["Adult","Senior","Young Adult"],"example":"Adult"},"skinTone":{"type":"string","description":"The actor's canonical skin-tone slug","enum":["skin100","skin200","skin300","skin400","skin500","skin600"],"example":"skin300"},"skinToneHex":{"type":"string","description":"Hex color matching the actor's skinTone, for rendering swatches identically to the Arcads UI","example":"#CFA07C"},"freeSpeech":{"type":"boolean","description":"Whether the actor supports free-speech generation"},"imageUrl":{"type":"string","description":"Signed URL to the actor's headshot image. Empty string if no headshot is available."}},"required":["id","name","gender","age","skinTone","skinToneHex","freeSpeech","imageUrl"]},"PresetTemplateDto":{"type":"object","properties":{"id":{"type":"string","description":"The template ID (use as situationId in the generate endpoint)","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"actorId":{"type":"string","description":"The actor ID of the situation"},"actor":{"description":"Actor associated with this situation. Null for situations without an actor (e.g. gestures, camera movement).","nullable":true,"allOf":[{"$ref":"#/components/schemas/EmbeddedActorDto"}]},"workspaceId":{"type":"string","description":"The workspace ID of the situation","nullable":true},"previewUrl":{"type":"string","description":"The video's URL"},"imageUrl":{"type":"string","description":"The snapshot image URL"},"tags":{"description":"Free-form tags describing what is shown in the situation (e.g. setting, scenario, mood). Useful for choosing the right situation to remix for a given product.","example":["kitchen","sitting","casual"],"type":"array","items":{"type":"string"}},"emotions":{"description":"Emotions conveyed by the actor in the situation.","example":["happy","curious"],"type":"array","items":{"type":"string"}},"accessories":{"description":"Accessories visible in the situation.","example":["glasses","hat"],"type":"array","items":{"type":"string"}},"cameraAngle":{"type":"string","description":"Camera angle of the situation. Null when the situation has no specific angle.","nullable":true,"enum":["front","close_up","low_angle","depth"]},"defaultVoiceId":{"type":"object","description":"The actor's own voice: a voiceId for the generation tools that take one. Null when the situation has none.","nullable":true},"talkingActorEnabled":{"type":"boolean","description":"Whether this situation is a standard talking-actor situation (lip-synced UGC). Mutually exclusive with the other content-type flags below."},"showYourAppEnabled":{"type":"boolean","description":"Whether this situation is a \"show your app\" situation (actor presenting an on-screen app)."},"unboxingPovEnabled":{"type":"boolean","description":"Whether this situation is an unboxing POV situation."},"gesturesEnabled":{"type":"boolean","description":"Whether this situation is a gestures situation."},"cameraMovementEnabled":{"type":"boolean","description":"Whether this situation is a camera-movement situation."},"cameraMovementMotionId":{"type":"object","description":"The motion ID used for this camera-movement situation. Null for situations that are not camera-movement.","nullable":true}},"required":["id","previewUrl","imageUrl","tags","emotions","accessories","talkingActorEnabled","showYourAppEnabled","unboxingPovEnabled","gesturesEnabled","cameraMovementEnabled"]},"PaginatedPresetTemplates":{"type":"object","properties":{"count":{"type":"number","description":"Total number of templates for this preset type"},"items":{"description":"List of templates","type":"array","items":{"$ref":"#/components/schemas/PresetTemplateDto"}}},"required":["count","items"]},"StartCameraMovementDto":{"type":"object","properties":{"productId":{"type":"string","description":"The ID of the product","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"situationId":{"type":"string","description":"The ID of the situation","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"referenceImages":{"description":"Avatar image path from presigned URL upload","example":["/tmp-uploads/avatar.png"],"type":"array","items":{"type":"string"}},"aspectRatio":{"type":"string","description":"The aspect ratio of the video","example":"16:9","enum":["21:9","16:9","4:3","1:1","3:4","9:16"]},"strength":{"type":"number","description":"The camera movement strength","example":0.75}},"required":["productId","situationId","referenceImages"]},"StartGesturesDto":{"type":"object","properties":{"productId":{"type":"string","description":"The ID of the product","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"situationId":{"type":"string","description":"The ID of the situation","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"referenceImages":{"description":"Avatar image path from presigned URL upload","example":["/tmp-uploads/avatar.png"],"type":"array","items":{"type":"string"}},"aspectRatio":{"type":"string","description":"The aspect ratio of the video","example":"16:9","enum":["21:9","16:9","4:3","1:1","3:4","9:16"]}},"required":["productId","situationId","referenceImages"]},"StartShowyourappDto":{"type":"object","properties":{"productId":{"type":"string","description":"The ID of the product","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"situationId":{"type":"string","description":"The ID of the situation","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"referenceImages":{"description":"App screenshot path from presigned URL upload","example":["/tmp-uploads/app-screenshot.png"],"type":"array","items":{"type":"string"}}},"required":["productId","situationId","referenceImages"]},"StartUnboxingPovDto":{"type":"object","properties":{"productId":{"type":"string","description":"The ID of the product","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"situationId":{"type":"string","description":"The ID of the situation","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"referenceImages":{"description":"Product image path from presigned URL upload","example":["/tmp-uploads/product.png"],"type":"array","items":{"type":"string"}}},"required":["productId","situationId","referenceImages"]},"StartGameplayAdDto":{"type":"object","properties":{"productId":{"type":"string","description":"The ID of the product","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"situationId":{"type":"string","description":"The ID of the situation","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"referenceVideos":{"description":"Gameplay video path from presigned URL upload","example":["/tmp-uploads/gameplay.mp4"],"type":"array","items":{"type":"string"}},"prompt":{"type":"string","description":"Optional prompt to guide script generation"}},"required":["productId","situationId","referenceVideos"]},"CompetitorDto":{"type":"object","properties":{"name":{"type":"string","description":"Brand name of the competitor","example":"Nike"},"url":{"type":"string","description":"Website of the competitor, when known","example":"https://www.nike.com"},"angle":{"type":"string","description":"What this competitor is known for","example":"Performance running, athlete endorsements"}},"required":["name"]},"AdPerformanceDto":{"type":"object","properties":{"impressions":{"type":"object","nullable":true,"example":12500},"spend":{"type":"object","nullable":true,"example":84.2},"currency":{"type":"object","nullable":true,"example":"EUR"}},"required":["impressions","spend","currency"]},"AdEntryDto":{"type":"object","properties":{"id":{"type":"string","description":"Id of the ad"},"competitorName":{"type":"string","description":"Brand running the ad","example":"Nike"},"advertiserName":{"type":"object","description":"Advertiser name as it appears on the ad","nullable":true},"source":{"type":"string","description":"competitor or own","example":"competitor"},"mediaType":{"type":"string","description":"video or image","example":"video"},"live":{"type":"boolean","description":"Whether the ad is still running"},"url":{"type":"object","description":"Signed URL of the ad media","nullable":true},"thumbnailUrl":{"type":"object","description":"Signed URL of the ad thumbnail","nullable":true},"analysis":{"type":"object","description":"Creative breakdown, once the ad has been analyzed","nullable":true},"startedRunning":{"type":"object","description":"When the ad was first seen"},"text":{"type":"object","description":"Primary text of the ad, as written by the advertiser","nullable":true},"status":{"type":"string","description":"Delivery status of the ad","enum":["active","paused","in_review","scheduled","rejected","unknown"],"example":"active"},"performance":{"description":"Results of the brand's own ad on its ads account; null for competitor ads","nullable":true,"allOf":[{"$ref":"#/components/schemas/AdPerformanceDto"}]},"performanceWindow":{"type":"string","description":"Period the performance covers: lifetime (Meta) or last_30_days (X); null without performance","enum":["lifetime","last_30_days"],"nullable":true}},"required":["id","competitorName","source","mediaType","live","startedRunning","status"]},"AdsLibraryResponseDto":{"type":"object","properties":{"total":{"type":"number","description":"Total ads matching the source filter"},"competitors":{"description":"Competitors currently configured. Empty means nothing is being scraped yet.","type":"array","items":{"$ref":"#/components/schemas/CompetitorDto"}},"entries":{"description":"The ads on this page","type":"array","items":{"$ref":"#/components/schemas/AdEntryDto"}}},"required":["total","competitors","entries"]},"AddCompetitorsDto":{"type":"object","properties":{"productId":{"type":"string","description":"The brand to add the competitors to","example":"b972ffe0-3364-46ad-922e-211df4f1d441"},"competitors":{"description":"The competitors to add","type":"array","items":{"$ref":"#/components/schemas/CompetitorDto"}}},"required":["productId","competitors"]},"CompetitorsResponseDto":{"type":"object","properties":{"competitors":{"description":"Every competitor now configured for the brand","type":"array","items":{"$ref":"#/components/schemas/CompetitorDto"}},"added":{"description":"Names of the competitors that were new, and whose ads are now being fetched","example":["Nike"],"type":"array","items":{"type":"string"}}},"required":["competitors","added"]},"AdCreativeMediaDto":{"type":"object","properties":{"adNetwork":{"type":"string","enum":["x","meta"]},"productId":{"type":"string","format":"uuid","description":"The brand whose ads account is read."},"adsAccountId":{"type":"string","description":"Ads account to read. Defaults to the brand's saved one."},"creativeId":{"type":"string","description":"The creativeId returned by the creatives read."}},"required":["adNetwork","productId","creativeId"]},"LibraryAdsPerformanceDto":{"type":"object","properties":{"productId":{"type":"string","format":"uuid","description":"The brand whose ads library holds the ads."},"assetIds":{"minItems":1,"maxItems":50,"description":"Ad ids from the brand's ads list: `meta:<adId>` for an ad of the connected Meta account, or an ads-library asset id (`source: 'own'`).","type":"array","items":{"type":"string"}}},"required":["productId","assetIds"]},"PrepareMetaAdDto":{"type":"object","properties":{"productId":{"type":"string","format":"uuid","description":"The brand the ad belongs to."},"videoAssetId":{"type":"string","format":"uuid","description":"The ready image or video asset to publish."},"adName":{"type":"string"},"status":{"type":"string","enum":["ACTIVE","PAUSED"],"description":"ACTIVE starts spending as soon as Meta approves the ad; PAUSED creates it without spending."},"primaryText":{"type":"string","description":"Primary text of the ad."},"headline":{"type":"string"},"description":{"type":"string"},"linkUrl":{"type":"string"},"callToActionType":{"type":"string"},"urlTags":{"type":"string","description":"UTM query string, no leading \"?\"."},"campaignId":{"type":"string","description":"Reuse this existing campaign."},"campaignName":{"type":"string"},"objective":{"type":"string"},"specialAdCategories":{"type":"array","items":{"type":"string"}},"adSetId":{"type":"string","description":"Reuse this existing ad set."},"adSetName":{"type":"string"},"dailyBudget":{"type":"number","description":"Daily budget of a new ad set, in the ad account currency (major units)."},"confirmHighBudget":{"type":"boolean","description":"Pass true only after the user explicitly approved a daily budget above Arcads' safety ceiling for the ad account's currency. A blocked prepare with reason budget_above_ceiling names the ceiling and asks for this."},"optimizationGoal":{"type":"string"},"billingEvent":{"type":"string"},"countries":{"type":"array","items":{"type":"string"}},"ageMin":{"type":"number","minimum":18,"maximum":65},"ageMax":{"type":"number","minimum":18,"maximum":65},"pixelId":{"type":"string"},"conversionEvent":{"type":"string"},"pageId":{"type":"string"},"instagramUserId":{"type":"string"},"adAccountId":{"type":"string","description":"Required when the brand has several Meta ad accounts."}},"required":["productId","videoAssetId","adName","status","primaryText"]},"ConfirmMetaAdDto":{"type":"object","properties":{"snapshotHash":{"type":"string","description":"The snapshotHash returned by prepare, for the recap approved."}},"required":["snapshotHash"]},"PaginatedFolders":{"type":"object","properties":{"count":{"type":"number","description":"Total number of folders matching the provided criteria"},"items":{"description":"List of folders matching the provided criteria and the pagination params","type":"array","items":{"$ref":"#/components/schemas/FolderDto"}}},"required":["count","items"]},"ProductDto":{"type":"object","properties":{"name":{"type":"string","description":"The name of the product"},"description":{"type":"string","description":"The description of the product"},"targetAudience":{"type":"string","description":"The target audience of the product"},"mainFeatures":{"description":"The main features of the product","type":"array","items":{"type":"string"}},"painPoint":{"type":"string","description":"The pain point targeted by the product"},"perceived":{"type":"string","description":"The perceived value of the product"},"id":{"type":"string","description":"The ID of the product"},"workspaceId":{"type":"string","description":"The workspace ID of the product"},"folders":{"description":"The folders of the product","type":"array","items":{"type":"string"}}},"required":["name","id","workspaceId","folders"]},"PaginatedProducts":{"type":"object","properties":{"count":{"type":"number","description":"Total number of products matching the provided criteria"},"items":{"description":"List of products matching the provided criteria and the pagination params","type":"array","items":{"$ref":"#/components/schemas/ProductDto"}}},"required":["count","items"]},"ProductCreationDto":{"type":"object","properties":{"name":{"type":"string","description":"The name of the product"},"description":{"type":"string","description":"The description of the product"},"targetAudience":{"type":"string","description":"The target audience of the product"},"mainFeatures":{"description":"The main features of the product","type":"array","items":{"type":"string"}},"painPoint":{"type":"string","description":"The pain point targeted by the product"},"perceived":{"type":"string","description":"The perceived value of the product"}},"required":["name"]},"ProductUpdateDto":{"type":"object","properties":{"name":{"type":"string","description":"The name of the product"},"description":{"type":"string","description":"The description of the product"},"targetAudience":{"type":"string","description":"The target audience of the product"},"mainFeatures":{"description":"The main features of the product","type":"array","items":{"type":"string"}},"painPoint":{"type":"string","description":"The pain point targeted by the product"},"perceived":{"type":"string","description":"The perceived value of the product"}}},"ProjectCreationDto":{"type":"object","properties":{"folderId":{"type":"string","description":"The folder ID where the project will be created","example":"123e4567-e89b-12d3-a456-426614174000"},"name":{"type":"string","description":"The name of the project","example":"My Project"}},"required":["folderId","name"]},"ProjectDto":{"type":"object","properties":{"id":{"type":"string","description":"Project ID"},"folderId":{"type":"string","description":"Folder ID"},"name":{"type":"string","description":"Project name"},"userId":{"type":"string","description":"User ID who created the project"},"createdAt":{"type":"string","description":"Creation timestamp"},"updatedAt":{"type":"string","description":"Last update timestamp"}},"required":["id","folderId","name","userId","createdAt","updatedAt"]},"AssetResponseDto":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the video asset","example":"b972ffe0-3364-46ad-922e-211df4f1d441"},"productId":{"type":"string","description":"The ID of the product this video asset belongs to","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"type":{"type":"string","description":"The type of video asset","enum":["actor_image","actor_image_suggestions","ai_actor","audio_driven","camera_angle","camera_movement","captions","styled_subtitles","caption_overlay","change_voice","extend_video","extend_video_seedance_25","extract_frame","extract_audio","change_speed_video","change_speed_audio","isolate_voice","isolate_voice_video","speech_to_speech","text_to_speech","create_music","sound_effect","mute_video","remove_text","ad_remake","change_actor","word_fix","scene_split","splitted_scene","gameplay_ad","gestures","gpt-image","gpt-image-2","gpt-image-2-5-flare","gpt-image-2-5-sunburst","gpt-image-2-6-flare","gpt-image-2-6-sunburst","grok_image","grok_imagine_15","grok_video","grok_video_edit","happy_horse","image-background-removed","image_layerize","image_layer","kling_26","kling_30","kling_30_4k","kling_30_pro_turbo","kling_40","kling_40_flash","kling-animate","kling30-animate","lipsync_video","minimax_h3","minimax_h3_max","minimax_h3_max_turbo","flux_3_max","flux_3_1","magi_2","nano-banana","nano-banana-2","nano-banana-2-1","omni_flash","omnihuman","seedance","seedance_20","seedance_20_mini","seedance_25","seedance_25_flash","seedream","seedream_5_lite","seedream_5_pro","seedream_5_5","showyourapp","skin_enhanced_image","soul","stitch","transcribe","transcribe_audio","translate_video","unboxing_pov","uploaded_audio","uploaded_document","uploaded_image","uploaded_video","upscaled_image","upscaled_video","veo31","video-background-removed","video_editor","wan22_animate","wan_30","wan_30_prime","replace_actor","rendered_video","ad_remix","ai_video_editing","rendered_image","html_video","html_image","prompt_builder","prompt_enhancer","llm","workflow_text_split","ads","static_ads","animation_studio_template_video","animation_studio_template_image","video_template_video","video_template_image","video_template_audio","broll_upload","sora2","extend_sora2","fashion_tryon","product_showcase","hook_repurposed","reve_2_1","actor_motion","scene","b_roll"],"example":"b_roll"},"url":{"type":"string","description":"The URL of the generated video","example":"https://videoassets/b972ffe0-3364-46ad-922e-211df4f1d441.mp4"},"sdUrl":{"type":"string","description":"The URL of the standard definition video","example":"https://videoassets/b972ffe0-3364-46ad-922e-211df4f1d441_sd.mp4"},"thumbnailUrl":{"type":"string","description":"The URL of the video thumbnail","example":"https://videoassets/b972ffe0-3364-46ad-922e-211df4f1d441.jpg"},"status":{"type":"string","description":"The current status of the video asset","enum":["created","pending","generated","failed","uploaded"],"example":"generated"},"data":{"type":"object","description":"The video asset data (structure varies by type)","example":{"prompt":"A beautiful landscape with mountains and a lake at sunset","aspectRatio":"16:9","duration":10}},"subStatus":{"type":"object","description":"The sub-status of the video asset","example":null},"projects":{"description":"Array of project IDs this asset belongs to","example":["40c97d04-b1b8-45fa-878d-4490a729bf5f"],"type":"array","items":{"type":"string"}}},"required":["id","type"]},"PaginatedProjectAssetsDto":{"type":"object","properties":{"count":{"type":"number","description":"Total number of assets in the project"},"items":{"description":"Assets of the requested page, newest first","type":"array","items":{"$ref":"#/components/schemas/AssetResponseDto"}}},"required":["count","items"]},"ProjectUpdateDto":{"type":"object","properties":{"name":{"type":"string","description":"The new name of the project","example":"Updated Project Name"}},"required":["name"]},"SituationDto":{"type":"object","properties":{"id":{"type":"string","description":"The situation's ID"},"actorId":{"type":"string","description":"The actor ID of the situation"},"actor":{"description":"Actor associated with this situation. Null for situations without an actor (e.g. gestures, camera movement).","nullable":true,"allOf":[{"$ref":"#/components/schemas/EmbeddedActorDto"}]},"workspaceId":{"type":"string","description":"The workspace ID of the situation","nullable":true},"previewUrl":{"type":"string","description":"The video's URL"},"imageUrl":{"type":"string","description":"The snapshot image URL"},"tags":{"description":"Free-form tags describing what is shown in the situation (e.g. setting, scenario, mood). Useful for choosing the right situation to remix for a given product.","example":["kitchen","sitting","casual"],"type":"array","items":{"type":"string"}},"emotions":{"description":"Emotions conveyed by the actor in the situation.","example":["happy","curious"],"type":"array","items":{"type":"string"}},"accessories":{"description":"Accessories visible in the situation.","example":["glasses","hat"],"type":"array","items":{"type":"string"}},"cameraAngle":{"type":"string","description":"Camera angle of the situation. Null when the situation has no specific angle.","nullable":true,"enum":["front","close_up","low_angle","depth"]},"defaultVoiceId":{"type":"object","description":"The actor's own voice: a voiceId for the generation tools that take one. Null when the situation has none.","nullable":true},"talkingActorEnabled":{"type":"boolean","description":"Whether this situation is a standard talking-actor situation (lip-synced UGC). Mutually exclusive with the other content-type flags below."},"showYourAppEnabled":{"type":"boolean","description":"Whether this situation is a \"show your app\" situation (actor presenting an on-screen app)."},"unboxingPovEnabled":{"type":"boolean","description":"Whether this situation is an unboxing POV situation."},"gesturesEnabled":{"type":"boolean","description":"Whether this situation is a gestures situation."},"cameraMovementEnabled":{"type":"boolean","description":"Whether this situation is a camera-movement situation."},"cameraMovementMotionId":{"type":"object","description":"The motion ID used for this camera-movement situation. Null for situations that are not camera-movement.","nullable":true}},"required":["id","previewUrl","imageUrl","tags","emotions","accessories","talkingActorEnabled","showYourAppEnabled","unboxingPovEnabled","gesturesEnabled","cameraMovementEnabled"]},"PaginatedSituations":{"type":"object","properties":{"count":{"type":"number","description":"Total number of situations matching the provided criteria"},"items":{"description":"List of situations matching the provided criteria and the pagination params","type":"array","items":{"$ref":"#/components/schemas/SituationDto"}}},"required":["count","items"]},"SocialAccountDto":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"platformAccountId":{"type":"string"},"username":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"linkedToBrand":{"type":"boolean","nullable":true,"description":"X brand linkage; null for TikTok or when no brand was requested"}},"required":["connectionId","platformAccountId","username","displayName","linkedToBrand"]},"SocialAccountsPaginationDto":{"type":"object","properties":{"page":{"type":"number"},"pageSize":{"type":"number"},"total":{"type":"number"},"nextPage":{"type":"number","nullable":true}},"required":["page","pageSize","total","nextPage"]},"SocialAccountActionDto":{"type":"object","properties":{"type":{"type":"string","enum":["connect","manage_accounts","link_to_brand","contact_support"]},"url":{"type":"string","nullable":true},"instructions":{"type":"string"}},"required":["type","url","instructions"]},"SocialAccountPlatformDto":{"type":"object","properties":{"platform":{"type":"string","enum":["x","tiktok"]},"availability":{"type":"string","enum":["available","not_configured"],"description":"API configuration status; connection and live-read access are checked by the platform"},"connectionState":{"type":"string","enum":["connected","not_connected"]},"requiresReconnect":{"type":"boolean","nullable":true,"description":"Credential validity is not checked by account discovery"},"connectionScope":{"type":"string","enum":["workspace"]},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/SocialAccountDto"}},"pagination":{"$ref":"#/components/schemas/SocialAccountsPaginationDto"},"actions":{"type":"array","items":{"$ref":"#/components/schemas/SocialAccountActionDto"}}},"required":["platform","availability","connectionState","requiresReconnect","connectionScope","accounts","pagination","actions"]},"SocialAccountsResponseDto":{"type":"object","properties":{"productId":{"type":"string","nullable":true,"format":"uuid"},"stateSource":{"type":"string","enum":["saved"]},"liveStatus":{"type":"string","enum":["not_checked"]},"platforms":{"type":"array","items":{"$ref":"#/components/schemas/SocialAccountPlatformDto"}}},"required":["productId","stateSource","liveStatus","platforms"]},"ConnectedVideoMediaDto":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"postId":{"type":"string","description":"The owned TikTok video ID returned by connected posts."}},"required":["connectionId","postId"]},"CreateTikTokDraftDto":{"type":"object","properties":{"productId":{"type":"string","description":"The brand the video belongs to"},"assetId":{"type":"string","description":"The video asset to post"},"caption":{"type":"string","description":"The post caption, editable in the widget"}},"required":["productId","assetId","caption"]},"TikTokPostDisclosureDto":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the post promotes a brand, product or service"},"yourBrand":{"type":"boolean","description":"The post promotes the creator's own business"},"brandedContent":{"type":"boolean","description":"The post is paid partnership content for a third party"}},"required":["enabled","yourBrand","brandedContent"]},"TikTokPostSettingsDto":{"type":"object","properties":{"title":{"type":"string","description":"The post caption, as edited in the widget"},"privacyLevel":{"type":"string","description":"Who can see the post, as chosen by the user","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"allowComment":{"type":"boolean"},"allowDuet":{"type":"boolean"},"allowStitch":{"type":"boolean"},"disclosure":{"$ref":"#/components/schemas/TikTokPostDisclosureDto"},"isAigc":{"type":"boolean","description":"Label the post as AI-generated"}},"required":["title","privacyLevel","allowComment","allowDuet","allowStitch","disclosure","isAigc"]},"ConfirmTikTokDraftDto":{"type":"object","properties":{"confirmToken":{"type":"string","description":"One-time token returned by the drafts endpoint"},"settings":{"$ref":"#/components/schemas/TikTokPostSettingsDto"}},"required":["confirmToken","settings"]},"SearchSocialPostsDto":{"type":"object","properties":{"productId":{"type":"string","description":"The brand the scan is for. Posts are judged for relevance against what Arcads knows about it; without one, the scan is ranked unjudged.","format":"uuid"},"queries":{"description":"1-5 formulations of the topic to scan: the literal topic, a hashtag form, a synonym. Exactly one of queries or handles.","example":["cold brew","#coldbrew","iced coffee at home"],"type":"array","items":{"type":"string"}},"handles":{"description":"1-5 account handles (no \"@\") whose own latest posts to scan. Exactly one of queries or handles.","example":["nike"],"type":"array","items":{"type":"string"}},"platforms":{"type":"array","description":"The platforms to scan in one call.","example":["tiktok","instagram"],"items":{"type":"string","enum":["tiktok","instagram","x"]}},"since":{"type":"string","description":"Lower bound on when a post was published, YYYY-MM-DD or a full ISO 8601 UTC timestamp. A topic scan covers the last 30 days when omitted; a handles scan covers the account’s latest posts.","example":"2026-09-01"},"limit":{"type":"number","description":"How many posts to keep across every platform, at most 30 (default 10).","minimum":1,"maximum":30},"sort":{"type":"string","description":"\"trending\" (velocity against age and the author’s audience, default for queries), \"views\", \"engagement\", or \"recent\" (default for handles).","enum":["trending","views","engagement","recent"]}},"required":["platforms"]},"SocialPostsScanPlatformDto":{"type":"object","properties":{"platform":{"type":"string","enum":["tiktok","instagram","x"]},"pages":{"type":"number","description":"Provider pages fetched"},"found":{"type":"number","description":"Raw posts the provider returned"},"candidates":{"type":"number","description":"Deduplicated, non-ad candidates kept for ranking"},"onTopic":{"type":"number","nullable":true,"description":"Candidates the judge rated on-topic; null when no judge ran"}},"required":["platform","pages","found","candidates","onTopic"]},"SocialPostsScanDto":{"type":"object","properties":{"queries":{"type":"array","items":{"type":"string"}},"handles":{"type":"array","items":{"type":"string"}},"providerCalls":{"type":"number","description":"Paid provider calls the scan spent"},"perPlatform":{"type":"array","items":{"$ref":"#/components/schemas/SocialPostsScanPlatformDto"}}},"required":["queries","providerCalls","perPlatform"]},"SocialPostsDroppedDto":{"type":"object","properties":{"offTopic":{"type":"number"},"promotional":{"type":"number"},"spam":{"type":"number"}},"required":["offTopic","promotional","spam"]},"SocialPostsFailureDto":{"type":"object","properties":{"platform":{"type":"string","enum":["tiktok","instagram","x"]},"reason":{"type":"string","enum":["unsupported","not_found","rate_limited","busy","too_many","error"]}},"required":["platform","reason"]},"SocialPostAuthorDto":{"type":"object","properties":{"handle":{"type":"string","example":"nike"},"displayName":{"type":"string","nullable":true},"avatarUrl":{"type":"string","nullable":true,"description":"Signed, short-lived url"},"followers":{"type":"number","nullable":true},"isVerified":{"type":"boolean","nullable":true}},"required":["handle","displayName","avatarUrl","followers","isVerified"]},"SocialPostDto":{"type":"object","properties":{"postId":{"type":"string","example":"tiktok:7412345678901234567"},"platform":{"type":"string","enum":["tiktok","instagram","x"]},"postUrl":{"type":"string"},"author":{"$ref":"#/components/schemas/SocialPostAuthorDto"},"caption":{"type":"string","nullable":true},"publishedAt":{"type":"string","nullable":true,"format":"date-time"},"viewCount":{"type":"number","nullable":true},"likeCount":{"type":"number","nullable":true},"commentCount":{"type":"number","nullable":true},"shareCount":{"type":"number","nullable":true},"mediaKind":{"type":"string","enum":["video","image","carousel","text"]},"thumbnailUrl":{"type":"string","nullable":true,"description":"Signed, short-lived url"},"videoUrl":{"type":"string","nullable":true,"description":"Signed, short-lived url"},"durationSeconds":{"type":"number","nullable":true},"fitReason":{"type":"string","description":"Why the relevance judge kept this post, for a scan run with a brand."},"relevance":{"type":"string","enum":["on_topic","adjacent","off_topic"]},"trendScore":{"type":"number","description":"Velocity against the post’s age and its author’s audience."}},"required":["postId","platform","postUrl","author","caption","publishedAt","viewCount","likeCount","commentCount","shareCount","mediaKind","thumbnailUrl","videoUrl","durationSeconds"]},"SearchSocialPostsResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["ok","partial","not_found","rate_limited","error"]},"found":{"type":"number","description":"Raw posts the providers returned"},"kept":{"type":"number","description":"Posts kept after screening and ranking"},"since":{"type":"string","nullable":true,"format":"date-time"},"platforms":{"type":"array","items":{"type":"string"}},"scanned":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SocialPostsScanDto"}]},"dropped":{"$ref":"#/components/schemas/SocialPostsDroppedDto"},"failures":{"type":"array","items":{"$ref":"#/components/schemas/SocialPostsFailureDto"}},"posts":{"type":"array","items":{"$ref":"#/components/schemas/SocialPostDto"}}},"required":["status","found","kept","since","platforms","scanned","dropped","failures","posts"]},"LookupSocialPostsDto":{"type":"object","properties":{"urls":{"description":"TikTok, Instagram or X post links, 6 at most. Short links are resolved.","example":["https://www.tiktok.com/@nike/video/7412345678901234567"],"type":"array","items":{"type":"string"}},"productId":{"type":"string","description":"The brand the lookup is billed under, when there is one.","format":"uuid"}},"required":["urls"]},"SocialPostLookupFailureDto":{"type":"object","properties":{"url":{"type":"string"},"reason":{"type":"string","enum":["unsupported","not_found","rate_limited","busy","too_many","error"]}},"required":["url","reason"]},"LookupSocialPostsResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["ok","partial","not_found","unsupported","rate_limited","too_many","error"]},"posts":{"type":"array","items":{"$ref":"#/components/schemas/SocialPostDto"}},"failures":{"type":"array","items":{"$ref":"#/components/schemas/SocialPostLookupFailureDto"}}},"required":["status","posts","failures"]},"SocialPostCommentsDto":{"type":"object","properties":{"url":{"type":"string","description":"The TikTok, Instagram or X post link. Exactly one of url or postId."},"postId":{"type":"string","description":"The postId of an Instagram or X post returned by this API (e.g. \"x:1830000000000000000\"). A TikTok post needs its url. Exactly one of url or postId."},"productId":{"type":"string","description":"The brand the lookup is billed under, when there is one.","format":"uuid"}}},"SocialCommentAuthorDto":{"type":"object","properties":{"handle":{"type":"string"},"displayName":{"type":"string","nullable":true},"isVerified":{"type":"boolean","nullable":true}},"required":["handle","displayName","isVerified"]},"SocialCommentDto":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"likeCount":{"type":"number","nullable":true},"publishedAt":{"type":"string","nullable":true,"format":"date-time"},"replyCount":{"type":"number","nullable":true},"isPostAuthor":{"type":"boolean","nullable":true,"description":"Written by the post’s own author"},"author":{"$ref":"#/components/schemas/SocialCommentAuthorDto"}},"required":["id","text","likeCount","publishedAt","replyCount","isPostAuthor","author"]},"SocialPostCommentsResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["ok","not_found","unsupported","rate_limited","busy","error"]},"postId":{"type":"string","nullable":true},"platform":{"type":"string","enum":["tiktok","instagram","x"],"nullable":true},"kind":{"type":"string","enum":["comments","replies"],"nullable":true},"comments":{"description":"Sorted by likes","type":"array","items":{"$ref":"#/components/schemas/SocialCommentDto"}}},"required":["status","postId","platform","kind","comments"]},"ImportSocialPostsDto":{"type":"object","properties":{"urls":{"description":"Instagram, TikTok or YouTube Shorts post links, or Meta Ad Library links or ids, 5 at most.","example":["https://www.instagram.com/reel/DY-X8TUuiX2/"],"type":"array","items":{"type":"string"}},"productId":{"type":"string","description":"The brand the imported assets are filed under.","format":"uuid"},"projectId":{"type":"string","description":"The project the imported assets are filed under.","format":"uuid"}},"required":["urls","productId"]},"ImportedSocialAssetDto":{"type":"object","properties":{"assetId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["video","image"]}},"required":["assetId","kind"]},"ImportSocialPostResultDto":{"type":"object","properties":{"url":{"type":"string"},"status":{"type":"string","enum":["imported","reused","failed"]},"assets":{"description":"One asset for a video or photo post, one per slide for a carousel.","type":"array","items":{"$ref":"#/components/schemas/ImportedSocialAssetDto"}},"name":{"type":"string"},"caption":{"type":"string"},"reason":{"type":"string","description":"Why the import failed."},"note":{"type":"string"}},"required":["url","status"]},"ImportSocialPostsResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["ok","partial","error"]},"results":{"type":"array","items":{"$ref":"#/components/schemas/ImportSocialPostResultDto"}}},"required":["status","results"]},"AddAssetToProjectDto":{"type":"object","properties":{"assetId":{"type":"string","description":"The ID of the asset","example":"b972ffe0-3364-46ad-922e-211df4f1d441"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"}},"required":["assetId","projectId"]},"AssetOperationResponseDto":{"type":"object","properties":{"success":{"type":"boolean","description":"Indicates whether the operation was successful","example":true}},"required":["success"]},"RemoveAssetFromProjectDto":{"type":"object","properties":{"assetId":{"type":"string","description":"The ID of the asset","example":"b972ffe0-3364-46ad-922e-211df4f1d441"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"}},"required":["assetId","projectId"]},"AssetsLibraryItemDto":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the video asset","example":"b972ffe0-3364-46ad-922e-211df4f1d441"},"productId":{"type":"string","description":"The ID of the product this video asset belongs to","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"type":{"type":"string","description":"The type of video asset","enum":["actor_image","actor_image_suggestions","ai_actor","audio_driven","camera_angle","camera_movement","captions","styled_subtitles","caption_overlay","change_voice","extend_video","extend_video_seedance_25","extract_frame","extract_audio","change_speed_video","change_speed_audio","isolate_voice","isolate_voice_video","speech_to_speech","text_to_speech","create_music","sound_effect","mute_video","remove_text","ad_remake","change_actor","word_fix","scene_split","splitted_scene","gameplay_ad","gestures","gpt-image","gpt-image-2","gpt-image-2-5-flare","gpt-image-2-5-sunburst","gpt-image-2-6-flare","gpt-image-2-6-sunburst","grok_image","grok_imagine_15","grok_video","grok_video_edit","happy_horse","image-background-removed","image_layerize","image_layer","kling_26","kling_30","kling_30_4k","kling_30_pro_turbo","kling_40","kling_40_flash","kling-animate","kling30-animate","lipsync_video","minimax_h3","minimax_h3_max","minimax_h3_max_turbo","flux_3_max","flux_3_1","magi_2","nano-banana","nano-banana-2","nano-banana-2-1","omni_flash","omnihuman","seedance","seedance_20","seedance_20_mini","seedance_25","seedance_25_flash","seedream","seedream_5_lite","seedream_5_pro","seedream_5_5","showyourapp","skin_enhanced_image","soul","stitch","transcribe","transcribe_audio","translate_video","unboxing_pov","uploaded_audio","uploaded_document","uploaded_image","uploaded_video","upscaled_image","upscaled_video","veo31","video-background-removed","video_editor","wan22_animate","wan_30","wan_30_prime","replace_actor","rendered_video","ad_remix","ai_video_editing","rendered_image","html_video","html_image","prompt_builder","prompt_enhancer","llm","workflow_text_split","ads","static_ads","animation_studio_template_video","animation_studio_template_image","video_template_video","video_template_image","video_template_audio","broll_upload","sora2","extend_sora2","fashion_tryon","product_showcase","hook_repurposed","reve_2_1","actor_motion","scene","b_roll"],"example":"b_roll"},"url":{"type":"string","description":"The URL of the generated video","example":"https://videoassets/b972ffe0-3364-46ad-922e-211df4f1d441.mp4"},"sdUrl":{"type":"string","description":"The URL of the standard definition video","example":"https://videoassets/b972ffe0-3364-46ad-922e-211df4f1d441_sd.mp4"},"thumbnailUrl":{"type":"string","description":"The URL of the video thumbnail","example":"https://videoassets/b972ffe0-3364-46ad-922e-211df4f1d441.jpg"},"status":{"type":"string","description":"The current status of the video asset","enum":["created","pending","generated","failed","uploaded"],"example":"generated"},"data":{"type":"object","description":"The video asset data (structure varies by type)","example":{"prompt":"A beautiful landscape with mountains and a lake at sunset","aspectRatio":"16:9","duration":10}},"subStatus":{"type":"object","description":"The sub-status of the video asset","example":null},"projects":{"description":"Array of project IDs this asset belongs to","example":["40c97d04-b1b8-45fa-878d-4490a729bf5f"],"type":"array","items":{"type":"string"}},"productName":{"type":"string","description":"The name of the product (brand) this asset belongs to","example":"Acme Running Shoes"}},"required":["id","type","productName"]},"AssetsLibraryPageDto":{"type":"object","properties":{"count":{"type":"number","description":"Total number of assets matching the filters","example":128},"items":{"description":"The assets on this page, newest first","type":"array","items":{"$ref":"#/components/schemas/AssetsLibraryItemDto"}},"originCounts":{"type":"object","description":"How many assets each origin holds under the filters currently applied","example":{"all":128,"uploaded":12,"generated":110,"google_drive":4,"dropbox":2,"broll":0}}},"required":["count","items","originCounts"]},"AudioDrivenVideoDto":{"type":"object","properties":{"situationId":{"type":"string","description":"The situation ID of the video"},"voiceId":{"type":"string","description":"The voice ID of the video. Opaque string - supports both internal UUIDs and external provider IDs (e.g. ElevenLabs)."}},"required":["situationId"]},"CreateAudioDrivenDto":{"type":"object","properties":{"productId":{"type":"string","description":"The product ID of the folder"},"text":{"type":"string","description":"The text of the script"},"videos":{"type":"array","items":{"$ref":"#/components/schemas/AudioDrivenVideoDto"}}},"required":["productId","text","videos"]},"AudioDrivenGeneratedAssetDataDto":{"type":"object","properties":{"situationId":{"type":"string"},"videoId":{"type":"string"},"audioUrl":{"type":"string"},"startFrame":{"type":"string"},"script":{"type":"string"}}},"AudioDrivenGeneratedAssetDto":{"type":"object","properties":{"id":{"type":"string"},"productId":{"type":"string"},"type":{"type":"string","enum":["actor_image","actor_image_suggestions","ai_actor","audio_driven","camera_angle","camera_movement","captions","styled_subtitles","caption_overlay","change_voice","extend_video","extend_video_seedance_25","extract_frame","extract_audio","change_speed_video","change_speed_audio","isolate_voice","isolate_voice_video","speech_to_speech","text_to_speech","create_music","sound_effect","mute_video","remove_text","ad_remake","change_actor","word_fix","scene_split","splitted_scene","gameplay_ad","gestures","gpt-image","gpt-image-2","gpt-image-2-5-flare","gpt-image-2-5-sunburst","gpt-image-2-6-flare","gpt-image-2-6-sunburst","grok_image","grok_imagine_15","grok_video","grok_video_edit","happy_horse","image-background-removed","image_layerize","image_layer","kling_26","kling_30","kling_30_4k","kling_30_pro_turbo","kling_40","kling_40_flash","kling-animate","kling30-animate","lipsync_video","minimax_h3","minimax_h3_max","minimax_h3_max_turbo","flux_3_max","flux_3_1","magi_2","nano-banana","nano-banana-2","nano-banana-2-1","omni_flash","omnihuman","seedance","seedance_20","seedance_20_mini","seedance_25","seedance_25_flash","seedream","seedream_5_lite","seedream_5_pro","seedream_5_5","showyourapp","skin_enhanced_image","soul","stitch","transcribe","transcribe_audio","translate_video","unboxing_pov","uploaded_audio","uploaded_document","uploaded_image","uploaded_video","upscaled_image","upscaled_video","veo31","video-background-removed","video_editor","wan22_animate","wan_30","wan_30_prime","replace_actor","rendered_video","ad_remix","ai_video_editing","rendered_image","html_video","html_image","prompt_builder","prompt_enhancer","llm","workflow_text_split","ads","static_ads","animation_studio_template_video","animation_studio_template_image","video_template_video","video_template_image","video_template_audio","broll_upload","sora2","extend_sora2","fashion_tryon","product_showcase","hook_repurposed","reve_2_1","actor_motion","scene","b_roll"]},"status":{"type":"string","enum":["created","pending","generated","failed","uploaded"]},"data":{"$ref":"#/components/schemas/AudioDrivenGeneratedAssetDataDto"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","productId","type","status","data","createdAt","updatedAt"]},"AudioDrivenFailedItemDto":{"type":"object","properties":{"videoId":{"type":"string"},"error":{"type":"string"}},"required":["videoId","error"]},"AudioDrivenSummaryDto":{"type":"object","properties":{"total":{"type":"number"},"successful":{"type":"number"},"failed":{"type":"number"}},"required":["total","successful","failed"]},"AudioDrivenGenerationResultDto":{"type":"object","properties":{"created":{"type":"array","items":{"$ref":"#/components/schemas/AudioDrivenGeneratedAssetDto"}},"failed":{"type":"array","items":{"$ref":"#/components/schemas/AudioDrivenFailedItemDto"}},"summary":{"$ref":"#/components/schemas/AudioDrivenSummaryDto"}},"required":["created","failed","summary"]},"CreateBRollDto":{"type":"object","properties":{"productId":{"type":"string","description":"The ID of the product","example":"b972ffe0-3364-46ad-922e-211df4f1d441"},"projectId":{"type":"string","description":"The ID of the project (optional)","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"prompt":{"type":"string","description":"The prompt describing the video content to generate","example":"A beautiful landscape with mountains and a lake at sunset"},"aspectRatio":{"type":"string","description":"The aspect ratio of the video","enum":["21:9","16:9","4:3","1:1","3:4","9:16"],"example":"16:9"},"duration":{"type":"number","description":"The video duration in seconds","enum":[5,10],"example":10},"refImageAsBase64":{"type":"string","description":"Optional reference image as base64 string (data:image/...;base64,...)","example":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ..."},"startFrameAsBase64":{"type":"string","description":"Optional start frame image as base64 string (data:image/...;base64,...)","example":"data:image/webp;base64,UklGRggUCQBXRUJQVlA4WAoAAAAwAAAADwUA..."},"endFrameAsBase64":{"type":"string","description":"Optional end frame image as base64 string (data:image/...;base64,...)","example":"data:image/webp;base64,UklGRggUCQBXRUJQVlA4WAoAAAAwAAAADwUA..."}},"required":["productId","prompt","aspectRatio","duration"]},"BRollVideoAssetDataDto":{"type":"object","properties":{"prompt":{"type":"string","description":"The prompt used for video generation"},"aspectRatio":{"type":"string","description":"The aspect ratio of the video","enum":["21:9","16:9","4:3","1:1","3:4","9:16"]},"duration":{"type":"number","description":"The video duration in seconds","enum":[5,10]},"hasInputImage":{"type":"boolean","description":"Whether the video has an input image"},"hasStartFrame":{"type":"boolean","description":"Whether the video has a start frame"},"nbGenerations":{"type":"number","description":"Number of generations"},"refImage":{"type":"string","description":"Reference image URL"},"startFrame":{"type":"string","description":"Start frame URL"},"endFrame":{"type":"string","description":"End frame URL"}},"required":["prompt","aspectRatio","duration"]},"BRollVideoAssetResponseDto":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the video asset"},"productId":{"type":"string","description":"The ID of the product this video asset belongs to"},"type":{"type":"string","description":"The type of video asset","enum":["actor_image","actor_image_suggestions","ai_actor","audio_driven","camera_angle","camera_movement","captions","styled_subtitles","caption_overlay","change_voice","extend_video","extend_video_seedance_25","extract_frame","extract_audio","change_speed_video","change_speed_audio","isolate_voice","isolate_voice_video","speech_to_speech","text_to_speech","create_music","sound_effect","mute_video","remove_text","ad_remake","change_actor","word_fix","scene_split","splitted_scene","gameplay_ad","gestures","gpt-image","gpt-image-2","gpt-image-2-5-flare","gpt-image-2-5-sunburst","gpt-image-2-6-flare","gpt-image-2-6-sunburst","grok_image","grok_imagine_15","grok_video","grok_video_edit","happy_horse","image-background-removed","image_layerize","image_layer","kling_26","kling_30","kling_30_4k","kling_30_pro_turbo","kling_40","kling_40_flash","kling-animate","kling30-animate","lipsync_video","minimax_h3","minimax_h3_max","minimax_h3_max_turbo","flux_3_max","flux_3_1","magi_2","nano-banana","nano-banana-2","nano-banana-2-1","omni_flash","omnihuman","seedance","seedance_20","seedance_20_mini","seedance_25","seedance_25_flash","seedream","seedream_5_lite","seedream_5_pro","seedream_5_5","showyourapp","skin_enhanced_image","soul","stitch","transcribe","transcribe_audio","translate_video","unboxing_pov","uploaded_audio","uploaded_document","uploaded_image","uploaded_video","upscaled_image","upscaled_video","veo31","video-background-removed","video_editor","wan22_animate","wan_30","wan_30_prime","replace_actor","rendered_video","ad_remix","ai_video_editing","rendered_image","html_video","html_image","prompt_builder","prompt_enhancer","llm","workflow_text_split","ads","static_ads","animation_studio_template_video","animation_studio_template_image","video_template_video","video_template_image","video_template_audio","broll_upload","sora2","extend_sora2","fashion_tryon","product_showcase","hook_repurposed","reve_2_1","actor_motion","scene","b_roll"],"example":"b_roll"},"url":{"type":"string","description":"The URL of the generated video"},"sdUrl":{"type":"string","description":"The URL of the standard definition video"},"thumbnailUrl":{"type":"string","description":"The URL of the video thumbnail"},"status":{"type":"string","description":"The current status of the video asset","enum":["created","pending","generated","failed","uploaded"]},"data":{"description":"The video asset data","allOf":[{"$ref":"#/components/schemas/BRollVideoAssetDataDto"}]}},"required":["id","productId","type","status","data"]},"OmniHumanVideoDto":{"type":"object","properties":{"situationId":{"type":"string","description":"The situation ID of the video"},"voiceId":{"type":"string","description":"The voice ID of the video. Opaque string - supports both internal UUIDs and external provider IDs (e.g. ElevenLabs)."}},"required":["situationId"]},"CreateOmniHumanDto":{"type":"object","properties":{"productId":{"type":"string","description":"The product ID of the folder"},"text":{"type":"string","description":"The text of the script"},"videos":{"type":"array","items":{"$ref":"#/components/schemas/OmniHumanVideoDto"}}},"required":["productId","text","videos"]},"OmniHumanGeneratedAssetDataDto":{"type":"object","properties":{"situationId":{"type":"string"},"videoId":{"type":"string"},"audioUrl":{"type":"string"},"startFrame":{"type":"string"},"script":{"type":"string"}}},"OmniHumanGeneratedAssetDto":{"type":"object","properties":{"id":{"type":"string"},"productId":{"type":"string"},"type":{"type":"string","enum":["actor_image","actor_image_suggestions","ai_actor","audio_driven","camera_angle","camera_movement","captions","styled_subtitles","caption_overlay","change_voice","extend_video","extend_video_seedance_25","extract_frame","extract_audio","change_speed_video","change_speed_audio","isolate_voice","isolate_voice_video","speech_to_speech","text_to_speech","create_music","sound_effect","mute_video","remove_text","ad_remake","change_actor","word_fix","scene_split","splitted_scene","gameplay_ad","gestures","gpt-image","gpt-image-2","gpt-image-2-5-flare","gpt-image-2-5-sunburst","gpt-image-2-6-flare","gpt-image-2-6-sunburst","grok_image","grok_imagine_15","grok_video","grok_video_edit","happy_horse","image-background-removed","image_layerize","image_layer","kling_26","kling_30","kling_30_4k","kling_30_pro_turbo","kling_40","kling_40_flash","kling-animate","kling30-animate","lipsync_video","minimax_h3","minimax_h3_max","minimax_h3_max_turbo","flux_3_max","flux_3_1","magi_2","nano-banana","nano-banana-2","nano-banana-2-1","omni_flash","omnihuman","seedance","seedance_20","seedance_20_mini","seedance_25","seedance_25_flash","seedream","seedream_5_lite","seedream_5_pro","seedream_5_5","showyourapp","skin_enhanced_image","soul","stitch","transcribe","transcribe_audio","translate_video","unboxing_pov","uploaded_audio","uploaded_document","uploaded_image","uploaded_video","upscaled_image","upscaled_video","veo31","video-background-removed","video_editor","wan22_animate","wan_30","wan_30_prime","replace_actor","rendered_video","ad_remix","ai_video_editing","rendered_image","html_video","html_image","prompt_builder","prompt_enhancer","llm","workflow_text_split","ads","static_ads","animation_studio_template_video","animation_studio_template_image","video_template_video","video_template_image","video_template_audio","broll_upload","sora2","extend_sora2","fashion_tryon","product_showcase","hook_repurposed","reve_2_1","actor_motion","scene","b_roll"]},"status":{"type":"string","enum":["created","pending","generated","failed","uploaded"]},"data":{"$ref":"#/components/schemas/OmniHumanGeneratedAssetDataDto"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","productId","type","status","data","createdAt","updatedAt"]},"OmniHumanFailedItemDto":{"type":"object","properties":{"videoId":{"type":"string"},"error":{"type":"string"}},"required":["videoId","error"]},"OmniHumanSummaryDto":{"type":"object","properties":{"total":{"type":"number"},"successful":{"type":"number"},"failed":{"type":"number"}},"required":["total","successful","failed"]},"OmniHumanGenerationResultDto":{"type":"object","properties":{"created":{"type":"array","items":{"$ref":"#/components/schemas/OmniHumanGeneratedAssetDto"}},"failed":{"type":"array","items":{"$ref":"#/components/schemas/OmniHumanFailedItemDto"}},"summary":{"$ref":"#/components/schemas/OmniHumanSummaryDto"}},"required":["created","failed","summary"]},"CreateSceneDto":{"type":"object","properties":{"productId":{"type":"string","description":"The ID of the product","example":"b972ffe0-3364-46ad-922e-211df4f1d441"},"projectId":{"type":"string","description":"The ID of the project (optional)","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"script":{"type":"string","description":"The script for the video (optional)","example":"Hi guys! This is a beautiful day!"},"prompt":{"type":"string","description":"The prompt describing the video content to generate","example":"A man walking in the street. He is talking to the camera"},"contextScript":{"type":"string","description":"The context script of the video (optional)","example":"Previous scene context..."},"contextPrompt":{"type":"string","description":"The context prompt of the video (optional)","example":"Previous scene visual context..."},"aspectRatio":{"type":"string","description":"The aspect ratio of the video","enum":["21:9","16:9","4:3","1:1","3:4","9:16"],"example":"16:9"},"refImageAsBase64":{"type":"string","description":"Optional reference image as base64 string (data:image/...;base64,...)","example":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ..."},"startFrameAsBase64":{"type":"string","description":"Optional start frame image as base64 string (data:image/...;base64,...)","example":"data:image/webp;base64,UklGRggUCQBXRUJQVlA4WAoAAAAwAAAADwUA..."}},"required":["productId","prompt","aspectRatio"]},"SceneVideoAssetDataDto":{"type":"object","properties":{"script":{"type":"string","description":"The script used for video generation"},"prompt":{"type":"string","description":"The prompt used for video generation"},"contextScript":{"type":"string","description":"The context script of the video"},"contextPrompt":{"type":"string","description":"The context prompt of the video"},"aspectRatio":{"type":"string","description":"The aspect ratio of the video","enum":["21:9","16:9","4:3","1:1","3:4","9:16"]},"hasInputImage":{"type":"boolean","description":"Whether the video has an input image"},"hasStartFrame":{"type":"boolean","description":"Whether the video has a start frame"},"nbGenerations":{"type":"number","description":"Number of generations"},"refImage":{"type":"string","description":"Reference image URL"},"startFrame":{"type":"string","description":"Start frame URL"}},"required":["prompt","aspectRatio"]},"SceneVideoAssetResponseDto":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the video asset"},"productId":{"type":"string","description":"The ID of the product this video asset belongs to"},"type":{"type":"string","description":"The type of video asset","enum":["actor_image","actor_image_suggestions","ai_actor","audio_driven","camera_angle","camera_movement","captions","styled_subtitles","caption_overlay","change_voice","extend_video","extend_video_seedance_25","extract_frame","extract_audio","change_speed_video","change_speed_audio","isolate_voice","isolate_voice_video","speech_to_speech","text_to_speech","create_music","sound_effect","mute_video","remove_text","ad_remake","change_actor","word_fix","scene_split","splitted_scene","gameplay_ad","gestures","gpt-image","gpt-image-2","gpt-image-2-5-flare","gpt-image-2-5-sunburst","gpt-image-2-6-flare","gpt-image-2-6-sunburst","grok_image","grok_imagine_15","grok_video","grok_video_edit","happy_horse","image-background-removed","image_layerize","image_layer","kling_26","kling_30","kling_30_4k","kling_30_pro_turbo","kling_40","kling_40_flash","kling-animate","kling30-animate","lipsync_video","minimax_h3","minimax_h3_max","minimax_h3_max_turbo","flux_3_max","flux_3_1","magi_2","nano-banana","nano-banana-2","nano-banana-2-1","omni_flash","omnihuman","seedance","seedance_20","seedance_20_mini","seedance_25","seedance_25_flash","seedream","seedream_5_lite","seedream_5_pro","seedream_5_5","showyourapp","skin_enhanced_image","soul","stitch","transcribe","transcribe_audio","translate_video","unboxing_pov","uploaded_audio","uploaded_document","uploaded_image","uploaded_video","upscaled_image","upscaled_video","veo31","video-background-removed","video_editor","wan22_animate","wan_30","wan_30_prime","replace_actor","rendered_video","ad_remix","ai_video_editing","rendered_image","html_video","html_image","prompt_builder","prompt_enhancer","llm","workflow_text_split","ads","static_ads","animation_studio_template_video","animation_studio_template_image","video_template_video","video_template_image","video_template_audio","broll_upload","sora2","extend_sora2","fashion_tryon","product_showcase","hook_repurposed","reve_2_1","actor_motion","scene","b_roll"],"example":"scene"},"url":{"type":"string","description":"The URL of the generated video"},"sdUrl":{"type":"string","description":"The URL of the standard definition video"},"thumbnailUrl":{"type":"string","description":"The URL of the video thumbnail"},"status":{"type":"string","description":"The current status of the video asset","enum":["created","pending","generated","failed","uploaded"]},"data":{"description":"The video asset data","allOf":[{"$ref":"#/components/schemas/SceneVideoAssetDataDto"}]}},"required":["id","productId","type","status","data"]},"SearchCreatorsDto":{"type":"object","properties":{"productId":{"type":"string","description":"The brand this search is for. Drives the fit screen and per-brand \"already seen\" memory.","format":"uuid"},"platform":{"type":"string","description":"The platform to search. One platform per call.","enum":["tiktok","youtube","x","instagram"]},"keyword":{"type":"string","description":"What the creators post about, 1-4 words (\"dog food reviews\"). Exactly one of keyword or similarTo."},"similarTo":{"type":"string","description":"A creator profile url (or @handle) to find lookalikes of. Exactly one of keyword or similarTo."},"limit":{"type":"number","description":"How many creators to return (1-20, default 10).","minimum":1,"maximum":20},"region":{"type":"string","description":"ISO 3166-1 alpha-2 code (common aliases like UK/USA accepted) to prefer one market."},"cursor":{"type":"string","description":"The `nextCursor` of a previous result, to page the same search."},"brief":{"type":"string","description":"One or two sentences on what the brand actually wants, for the fit screen."},"language":{"type":"string","description":"ISO 639-1 code of the language the user writes in; `fitReason` is written in it. English when omitted.","example":"fr"},"faceless":{"type":"string","description":"\"exclude\" to drop faceless/AI-voiceover accounts, \"include\" to allow them.","enum":["include","exclude"]},"gurus":{"type":"string","description":"\"include\" to allow coaches/agencies/course sellers, otherwise excluded by default.","enum":["include","exclude"]}},"required":["productId","platform"]},"CreatorResultDto":{"type":"object","properties":{"platform":{"type":"string","enum":["tiktok","youtube","x","instagram"]},"handle":{"type":"string"},"displayName":{"type":"string","nullable":true},"bio":{"type":"string","nullable":true},"followers":{"type":"number","nullable":true},"profileUrl":{"type":"string"},"avatarUrl":{"type":"string","description":"Signed url of the creator avatar, re-hosted by Arcads. Expires, so read it on the same call rather than storing it. Absent when no avatar could be re-hosted."},"avatarPath":{"type":"string","description":"Never-expiring path of the creator avatar, relative to the API base url (`https://api.arcads.ai/v1`). It redirects to a fresh signed url, so it can be stored and embedded. Absent when no avatar could be re-hosted."},"country":{"type":"string","nullable":true,"description":"ISO 3166-1 alpha-2 country code, when known."},"lastPostedAt":{"type":"string","nullable":true},"medianViews":{"type":"number","nullable":true},"viewRate":{"type":"number","description":"Median sample views divided by followers."},"isVerified":{"type":"boolean","nullable":true},"videoCount":{"type":"number","nullable":true},"viewCountTotal":{"type":"number","nullable":true},"lifetimeCadenceDays":{"type":"number","nullable":true},"engagementPct":{"type":"number"},"commentsPerThousandViews":{"type":"number"},"shortsPct":{"type":"number"},"postingCadenceDays":{"type":"number"},"recentTitles":{"type":"array","items":{"type":"string"}},"reason":{"type":"string","description":"Why this creator was returned."},"fitReason":{"type":"string","description":"What the fit screening found this account actually posts."},"accountType":{"type":"string","description":"person, brand_page, agency_or_guru, faceless_or_ai, aggregator_or_repost, bot_or_spam, unknown."}},"required":["platform","handle","displayName","bio","followers","profileUrl","country","isVerified","videoCount","viewCountTotal","lifetimeCadenceDays","reason"]},"SearchCreatorsResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["ok","unsupported","rate_limited","not_found","busy","error"]},"creators":{"type":"array","items":{"$ref":"#/components/schemas/CreatorResultDto"}},"nextCursor":{"type":"string","nullable":true},"degraded":{"type":"boolean","description":"True when this page came from a degraded fallback search."},"message":{"type":"string"}},"required":["status","message"]},"GetCreatorStatsDto":{"type":"object","properties":{"platform":{"type":"string","description":"The creator's platform.","enum":["tiktok","youtube","x","instagram"]},"handle":{"type":"string","description":"The creator's handle (\"brewwithlena\"), with or without the leading @."},"productId":{"type":"string","description":"The brand this lookup is billed under, when there is one.","format":"uuid"}},"required":["platform","handle"]},"GetCreatorStatsResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["ok","not_found","unsupported","rate_limited","error"]},"platform":{"type":"string"},"handle":{"type":"string"},"displayName":{"type":"string","nullable":true},"bio":{"type":"string","nullable":true},"followers":{"type":"number","nullable":true},"country":{"type":"string","nullable":true},"profileUrl":{"type":"string"},"avatarPath":{"type":"string","description":"Never-expiring path of the creator avatar, relative to the API base url (`https://api.arcads.ai/v1`). It redirects to a fresh signed url, so it can be stored and embedded."},"isVerified":{"type":"boolean","nullable":true},"videoCount":{"type":"number","nullable":true},"viewCountTotal":{"type":"number","nullable":true},"lifetimeCadenceDays":{"type":"number","nullable":true},"lastPostedAt":{"type":"string","nullable":true},"sampleSize":{"type":"number"},"medianViews":{"type":"number","nullable":true},"averageViews":{"type":"number","nullable":true},"viewRate":{"type":"number","nullable":true},"engagementRate":{"type":"number","nullable":true},"commentsPerThousandViews":{"type":"number","nullable":true},"recentTitles":{"type":"array","items":{"type":"string"}},"recentPostUrls":{"type":"array","items":{"type":"string"}},"sponsoredVideoCount":{"type":"number","nullable":true,"description":"YouTube only — detected sponsored videos in the checked sample."},"sponsorBrands":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}},"required":["status","platform","handle","message"]},"CreatorHandleDto":{"type":"object","properties":{"platform":{"type":"string","description":"The shortlisted creator's platform.","enum":["tiktok","youtube","x","instagram"]},"handle":{"type":"string","description":"The creator's handle (\"brewwithlena\"), with or without the leading @."}},"required":["platform","handle"]},"FindCreatorEmailDto":{"type":"object","properties":{"creators":{"description":"The creators to look up, 1-20 per call.","type":"array","items":{"$ref":"#/components/schemas/CreatorHandleDto"}},"productId":{"type":"string","description":"The brand this lookup is billed under, when there is one.","format":"uuid"}},"required":["creators"]},"CreatorEmailResultDto":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"status":{"type":"string","enum":["ok","not_found","unsupported","rate_limited","error","not_from_search"]},"email":{"type":"string"},"sourceUrl":{"type":"string","nullable":true},"collectedAt":{"type":"string"},"message":{"type":"string"}},"required":["platform","handle","status","message"]},"FindCreatorEmailResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["ok","error"]},"results":{"type":"array","items":{"$ref":"#/components/schemas/CreatorEmailResultDto"}},"message":{"type":"string"}},"required":["status","message"]},"ShowCreatorsDto":{"type":"object","properties":{"picks":{"description":"The creators to show, 1-20, in the order to present them.","type":"array","items":{"$ref":"#/components/schemas/CreatorHandleDto"}},"productId":{"type":"string","description":"The brand the shortlist is for. Only creators already shown to this brand are returned; without it, creators shown to any brand of the workspace are.","format":"uuid"}},"required":["picks"]},"UnresolvedCreatorDto":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"}},"required":["platform","handle"]},"ShowCreatorsResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["ok","not_found"]},"creators":{"type":"array","items":{"$ref":"#/components/schemas/CreatorResultDto"}},"unresolved":{"description":"Picks the creator library has no record of.","type":"array","items":{"$ref":"#/components/schemas/UnresolvedCreatorDto"}},"message":{"type":"string"}},"required":["status","creators","unresolved","message"]},"VideoTemplateRunInputDto":{"type":"object","properties":{"brandId":{"type":"string","description":"The brand the video is for.","format":"uuid"},"product":{"type":"string","description":"Catalog key or name of the product inside the brand. A name the brand doesn't hold yet is added as a new product when the run starts."},"productUrl":{"type":"string","description":"Public http(s) page of the product. When the run starts, Arcads reads it and saves the product in Brand Memory, the same way the app does, instead of using a product already saved. Not together with product, productDescription or productPhotoAssetIds.","example":"https://brand.com/products/serum"},"productDescription":{"type":"string","description":"What a new product is and who it is for."},"productPhotoAssetIds":{"description":"Ready images of the product, from this workspace's library. Saved on the product before the run.","type":"array","items":{"type":"string"}},"actorAssetId":{"type":"string","description":"Ready image of the person who replaces the template's actor, from this workspace's library.","format":"uuid"},"duration":{"type":"string","description":"Length in seconds, one the template offers.","example":"10"},"script":{"type":"string","description":"Words the actor says, kept word for word."},"notes":{"type":"string","description":"Creative notes (angle, tone, setting, offer). They change the picture and the lines Mark writes; they are never spoken as is."}}},"CreateVideoTemplateRunDto":{"type":"object","properties":{"brandId":{"type":"string","description":"The brand the video is for.","format":"uuid"},"product":{"type":"string","description":"Catalog key or name of the product inside the brand. A name the brand doesn't hold yet is added as a new product when the run starts."},"productUrl":{"type":"string","description":"Public http(s) page of the product. When the run starts, Arcads reads it and saves the product in Brand Memory, the same way the app does, instead of using a product already saved. Not together with product, productDescription or productPhotoAssetIds.","example":"https://brand.com/products/serum"},"productDescription":{"type":"string","description":"What a new product is and who it is for."},"productPhotoAssetIds":{"description":"Ready images of the product, from this workspace's library. Saved on the product before the run.","type":"array","items":{"type":"string"}},"actorAssetId":{"type":"string","description":"Ready image of the person who replaces the template's actor, from this workspace's library.","format":"uuid"},"duration":{"type":"string","description":"Length in seconds, one the template offers.","example":"10"},"script":{"type":"string","description":"Words the actor says, kept word for word."},"notes":{"type":"string","description":"Creative notes (angle, tone, setting, offer). They change the picture and the lines Mark writes; they are never spoken as is."},"idempotencyKey":{"type":"string","description":"Same key within ten minutes returns the run it already started instead of starting another."}}},"VideoData":{"type":"object","properties":{"speed":{"type":"number","description":"The speed of the video"},"similarityBoost":{"type":"number","description":"The similarity boost of the video"},"stability":{"type":"number","description":"The stability of the video"},"style":{"type":"number","description":"The style of the video"},"useSpeakerBoost":{"type":"boolean","description":"Whether to use speaker boost"}}},"VideoDto":{"type":"object","properties":{"voiceId":{"type":"string","description":"The voice ID of the video"},"data":{"description":"The data of the video","allOf":[{"$ref":"#/components/schemas/VideoData"}]},"scriptId":{"type":"string","description":"The script ID of the video"},"situationId":{"type":"string","description":"The situation ID of the video"},"id":{"type":"string","description":"The ID of the video"},"videoStatus":{"type":"object","description":"The status of the video"},"videoUrl":{"type":"string","description":"The video's URL"},"folderId":{"type":"string","description":"The ID of the folder the video belongs to"},"productId":{"type":"string","description":"The ID of the product the video belongs to"},"productName":{"type":"string","description":"Name of the product the video belongs to. Present on the videos list."},"script":{"type":"string","description":"Text of the script the video speaks. Present on the videos list."},"thumbnailUrl":{"type":"string","description":"Signed URL of the actor's image, the video's thumbnail. Present on the videos list."},"createdAt":{"format":"date-time","type":"string","description":"When the video was created (ISO 8601)"},"updatedAt":{"format":"date-time","type":"string","description":"When the video was last updated (ISO 8601)"}},"required":["scriptId","situationId","id","videoUrl"]},"ScriptCreationDto":{"type":"object","properties":{"folderId":{"type":"string","description":"The folder ID where the script will be created. Required if projectId is not provided. If both folderId and projectId are provided, the project must belong to this folder."},"projectId":{"type":"string","description":"The project ID where the script will be created. Required if folderId is not provided. If provided, the project must belong to the workspace."},"name":{"type":"string","description":"The name of the script","maxLength":100},"text":{"type":"string","description":"The text of the script"},"videos":{"description":"The videos of the script","type":"array","items":{"$ref":"#/components/schemas/ScriptVideoDto"}}},"required":["name","text"]},"ScriptUpdateDto":{"type":"object","properties":{"name":{"type":"string","description":"The name of the script","maxLength":100},"text":{"type":"string","description":"The text of the script"},"folderId":{"type":"string","description":"The folder ID of the script"}}},"PaginatedVideos":{"type":"object","properties":{"count":{"type":"number","description":"Total number of videos matching the provided criteria"},"items":{"description":"List of videos matching the provided criteria and the pagination params","type":"array","items":{"$ref":"#/components/schemas/VideoDto"}}},"required":["count","items"]},"VideoCreationDto":{"type":"object","properties":{"voiceId":{"type":"string","description":"The voice ID of the video"},"data":{"description":"The data of the video","allOf":[{"$ref":"#/components/schemas/VideoData"}]},"scriptId":{"type":"string","description":"The script ID of the video"},"situationId":{"type":"string","description":"The situation ID of the video"}},"required":["scriptId","situationId"]},"VideoUpdateDto":{"type":"object","properties":{"voiceId":{"type":"string","description":"The voice ID of the video"},"data":{"description":"The data of the video","allOf":[{"$ref":"#/components/schemas/VideoData"}]}}},"CloneVoiceDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the new voice, shown in the voices list","example":"Brand narrator"},"language":{"type":"string","description":"Language spoken in the samples","enum":["Unknown","French","Spanish","Japanese","Arabic","English","Turkish","Italian","Chinese (Simplified)","Dutch","German","Swedish","Portuguese","Korean","Norwegian","Bulgarian","Croatian","Czech","Danish","Fillipino","Finnish","Greek","Hindi","Hungarian","Indonesian","Malay","Polish","Romanian","Russian","Slovak","Tamil","Ukrainian","Vietnamese"]},"gender":{"type":"string","description":"Gender of the voice","enum":["Female","Male","Neutral"]},"audioS3FilePaths":{"description":"Audio or video samples of the voice, as file paths returned by the upload endpoint. The voice is isolated from music and noise before cloning.","example":["temp-uploads/27d8cff3-bcaf-4606-82b9-411b0908e34d.mp3"],"type":"array","items":{"type":"string"}}},"required":["name","language","audioS3FilePaths"]},"VoiceDto":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the voice"},"workspaceId":{"type":"object","description":"The workspace ID of the voice"},"name":{"type":"string","description":"The name of the voice"},"gender":{"type":"object","description":"The gender of the voice (optional for imported ElevenLabs voices)"},"age":{"type":"object","description":"The age of the voice (optional for imported ElevenLabs voices)"},"accent":{"type":"string","description":"The accent of the voice (optional for imported ElevenLabs voices)"},"language":{"type":"object","description":"The language of the voice"},"descriptive":{"type":"string","description":"The description of the voice"},"audioUrl":{"type":"string","description":"The voice's audio URL"},"createdAt":{"type":"string","description":"The date when the voice was created"},"expiresAt":{"type":"string","description":"When a temporary voice (cloned through the API) is deleted. Absent on permanent voices.","format":"date-time","nullable":true}},"required":["id","workspaceId","name","gender","age","accent","language","descriptive","audioUrl","createdAt"]},"PaginatedVoices":{"type":"object","properties":{"count":{"type":"number","description":"Total number of situations matching the provided criteria"},"items":{"description":"List of situations matching the provided criteria and the pagination params","type":"array","items":{"$ref":"#/components/schemas/VoiceDto"}}},"required":["count","items"]},"GenerateMusicDto":{"type":"object","properties":{"productId":{"type":"string","description":"The ID of the product","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"projectId":{"type":"string","description":"The ID of the project to add the track to","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"prompt":{"type":"string","description":"The music to write, described by genre, mood, instrumentation and energy — not the sung words, which go in `lyrics`. Up to 1000 characters with Suno.","example":"warm acoustic indie folk bed, light percussion, optimistic"},"model":{"type":"string","description":"The model. `elevenlabs` (default) writes exactly the requested length, 3-600s — the one for a bed that must run to the last frame of a video. `suno_v6` writes the richest tracks and takes sung `lyrics`; its length is approximate (20-360s) and it costs a flat 10 credits per two tracks.","enum":["suno_v6","elevenlabs"],"default":"elevenlabs"},"duration":{"type":"number","description":"Length of the track in seconds: exact with `elevenlabs` (3-600), a target with `suno_v6` (20-360).","example":30,"default":60},"instrumentalOnly":{"type":"boolean","description":"True renders the track with no vocals, which is what a bed under a voiceover needs.","default":true},"lyrics":{"type":"string","description":"Words to sing, up to 5000 characters. `suno_v6` only, with `instrumentalOnly` false. Section tags like [Verse] and [Chorus] are honoured.","example":"[Verse] City lights are calling"},"nbGenerations":{"type":"number","description":"How many tracks to write. `suno_v6` returns two tracks per call, so two tracks cost the same as one.","default":1}},"required":["productId","prompt"]},"StartOmniFlashDto":{"type":"object","properties":{"productId":{"type":"string","description":"The ID of the product","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"prompt":{"type":"string","description":"The prompt guiding the video generation or edit","example":"A beautiful landscape with mountains and a lake at sunset"},"aspectRatio":{"type":"string","description":"The output aspect ratio: '16:9' (landscape) or '9:16' (portrait). Omit to let the model auto-pick.","example":"9:16","enum":["16:9","9:16"]},"duration":{"type":"number","description":"Target video duration in seconds (3–10). Omit to let the model auto-pick.","example":8,"minimum":3,"maximum":10},"referenceImages":{"description":"The links to the reference images (image-to-video). You need to call GET v1/file-upload/get-presigned-url to get an upload presigned URL and a filePath. Then upload the images to S3 using the presigned URL. Put the filePath in the referenceImages array.","example":["/path/to/image1.jpg","/path/to/image2.jpg"],"type":"array","items":{"type":"string"}},"referenceVideos":{"description":"The links to source videos to edit or reference (conversational video editing / reference-to-video). You need to call GET v1/file-upload/get-presigned-url to get an upload presigned URL and a filePath. Then upload the videos to S3 using the presigned URL. Put the filePaths in the referenceVideos array.","example":["/path/to/source-video.mp4"],"type":"array","items":{"type":"string"}},"startFrame":{"type":"string","description":"The link to the image used as the first frame of the generated video (can be combined with referenceImages). You need to call GET v1/file-upload/get-presigned-url to get an upload presigned URL and a filePath. Then upload the image to S3 using the presigned URL. Put the filePath in startFrame.","example":"/path/to/first-frame.jpg"}},"required":["productId","prompt"]},"ActorInputDto":{"type":"object","properties":{"situationId":{"type":"string","description":"The situation ID of the actor","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"voiceId":{"type":"string","description":"The voice ID of the actor. Opaque string - supports both internal UUIDs and external provider IDs (e.g. ElevenLabs).","example":"elevenlabs-voice-id"}},"required":["situationId"]},"GenerateTalkingActorsDto":{"type":"object","properties":{"model":{"type":"string","description":"The model used to generate talking actors","enum":["arcads_1.0","audio_driven","omnihuman"],"example":"arcads_1.0"},"productId":{"type":"string","description":"The ID of the product","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"script":{"type":"string","description":"The script for the talking actors. Required if referenceAudios is not provided.","example":"Hello, this is a test script."},"referenceAudios":{"description":"Reference audio files. Required if script is not provided. Max 1 file.","example":["/path/to/audio.mp3"],"type":"array","items":{"type":"string"}},"actors":{"description":"The actors to generate","type":"array","items":{"$ref":"#/components/schemas/ActorInputDto"}},"autoAddScriptEmotion":{"type":"boolean","description":"Whether to automatically add script emotion","example":false}},"required":["model","productId","actors"]},"GenerationResultItemDto":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the generated asset","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"model":{"type":"string","description":"The model used for generation","enum":["arcads_1.0","audio_driven","omnihuman"],"example":"arcads_1.0"},"status":{"type":"string","description":"The status of the generation","enum":["processing","completed","failed"],"example":"processing"}},"required":["id","model","status"]},"TalkingActorStatusDto":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the talking actor asset","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"model":{"type":"string","description":"The model used for generation","enum":["arcads_1.0","audio_driven","omnihuman"],"example":"arcads_1.0"},"status":{"type":"string","description":"The status of the generation","enum":["processing","completed","failed"],"example":"processing"},"createdAt":{"format":"date-time","type":"string","description":"The creation timestamp","example":"2024-01-01T00:00:00Z"},"updatedAt":{"format":"date-time","type":"string","description":"The last update timestamp","example":"2024-01-01T00:00:00Z"},"error":{"type":"string","description":"Error message if generation failed","example":"Generation failed due to invalid input"}},"required":["id","model","status","createdAt","updatedAt"]},"StartVeo31Dto":{"type":"object","properties":{"productId":{"type":"string","description":"The ID of the product","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"projectId":{"type":"string","description":"The ID of the project","example":"40c97d04-b1b8-45fa-878d-4490a729bf5f"},"prompt":{"type":"string","description":"The prompt for the video","example":"A beautiful landscape with mountains and a lake at sunset"},"resolution":{"type":"string","description":"The resolution of the video","example":"1080p","enum":["360p","480p","720p","1080p","4K"]},"aspectRatio":{"type":"string","description":"The aspect ratio of the video","example":"16:9","enum":["16:9","9:16"]},"referenceImages":{"description":"The links to the reference images. You need to call GET v1/file-upload/get-presigned-url to get an upload presigned URL and a filePath. Then upload the images to S3 using the presigned URL. Put the filePath in the referenceImages array.","example":["/path/to/image1.jpg","/path/to/image2.jpg"],"type":"array","items":{"type":"string"}},"startFrame":{"type":"string","description":"The link to the start frame. Start frame can not be used with reference images. You need to call GET v1/file-upload/get-presigned-url to get an upload presigned URL and a filePath. Then upload the image to S3 using the presigned URL. Put the filePath in the startFrame variable.","example":"/path/to/start-frame.jpg"},"endFrame":{"type":"string","description":"The link to the end frame. End frame can only be used if start frame is provided.","example":"/path/to/end-frame.jpg"}},"required":["productId","prompt","resolution","aspectRatio"]},"GeneratePresignedUrlDto":{"type":"object","properties":{"fileType":{"type":"string","description":"The MIME type of the file to upload","example":"image/jpeg","enum":["image/jpeg","image/jpg","image/png","image/gif","image/webp","image/heic","image/heif","video/mp4","video/quicktime","video/avi","video/mov","video/wmv","video/webm","audio/mp3","audio/mp4","audio/wav","audio/m4a","audio/x-m4a","audio/aac","audio/ogg","audio/flac","audio/webm","audio/mpeg","audio/opus","application/pdf","text/plain","text/html","text/markdown","text/x-markdown","text/md","text/csv","text/x-csv","application/csv","application/x-csv","text/comma-separated-values","text/x-comma-separated-values","application/json","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.apple.pages","application/vnd.apple.numbers","application/vnd.google-apps.document","application/vnd.google-apps.spreadsheet","application/vnd.google-apps.presentation","application/vnd.google-apps.drawing","application/x-iwork-pages-sffpages","application/x-iwork-numbers-sffnumbers"]}},"required":["fileType"]},"PresignedUrlResponseDto":{"type":"object","properties":{"presignedUrl":{"type":"string","description":"The presigned URL for uploading the file directly to S3","example":"https://bucket.s3.amazonaws.com/uploads/workspace-id/image/jpeg/file-id.jpg?X-Amz-Algorithm=..."},"filePath":{"type":"string","description":"The S3 file path where the file will be stored","example":"uploads/workspace-id/image/jpeg/file-id.jpg"},"fileId":{"type":"string","description":"The unique file ID generated for this upload","example":"123e4567-e89b-12d3-a456-426614174000"},"expiresIn":{"type":"number","description":"The expiration time of the presigned URL in seconds","example":600},"maxFileSize":{"type":"number","description":"Maximum allowed file size in bytes","example":10485760},"maxDuration":{"type":"number","description":"Maximum allowed video duration in seconds (for video uploads)","example":30}},"required":["presignedUrl","filePath","fileId","expiresIn"]},"CreateAssetFromUploadDto":{"type":"object","properties":{"filePath":{"type":"string","description":"The S3 file path returned by the get-presigned-url endpoint after uploading the file","example":"external-api-temp-uploads/123e4567-e89b-12d3-a456-426614174000.jpg"},"productId":{"type":"string","description":"The product ID to associate the asset with","example":"b972ffe0-3364-46ad-922e-211df4f1d441"},"name":{"type":"string","description":"Optional name for the asset"}},"required":["filePath","productId"]},"CreditsBalanceDto":{"type":"object","properties":{"plan":{"type":"object","description":"The workspace's current plan, or null when it has none","example":"pro","nullable":true},"creditsIncluded":{"type":"number","description":"Credits granted for the current period, bought top-ups included","example":48000},"creditsRemaining":{"type":"number","description":"Credits still available to spend","example":12800},"mcpCreditsSpentThisPeriod":{"type":"object","description":"Credits spent through MCP since the current period opened, prompt enhancements included and refunded charges excluded. Covers MCP only — the app and the API draw on the same balance and are not counted. Null when the figure could not be computed","example":35200,"nullable":true},"additionalCreditsUsed":{"type":"number","description":"Credits spent beyond the included allowance, billed on top. 0 when within it","example":0},"currentPeriodStart":{"type":"object","description":"Start of the current billing period, or null when the workspace has no subscription","example":"2026-08-14T09:12:00.000Z","nullable":true},"currentPeriodEnd":{"type":"object","description":"End of the current billing period, when the allowance renews. Null when the workspace has no subscription","example":"2026-09-14T09:12:00.000Z","nullable":true}},"required":["plan","creditsIncluded","creditsRemaining","mcpCreditsSpentThisPeriod","additionalCreditsUsed","currentPeriodStart","currentPeriodEnd"]}}}}