Choose the source
Start with the original image, video, or audio you want to use. Confirm that you have access to the asset and that the chosen workflow accepts its media type. Use assets you have permission to provide. Check the source’s format, dimensions, orientation, duration, and audio track. An image-to-video workflow, a video edit, and a talking avatar have different input requirements. Select the source and references for the actual workflow.Upload a local file
The MCP local upload flow separates transfer from verification. Useprepare_file_upload and complete_file_upload:
1
Prepare the upload
Compute the file’s exact size, MIME type, and SHA-256 checksum. Request upload
instructions through your connected client.
2
Transfer the bytes
Upload the file directly to the provided upload URL. Include every returned
header exactly and complete the transfer before the URL expires.
3
Verify completion
Complete the upload verification using the existing upload identifier. Use
the verified asset reference returned by completion for generation.
Import a remote file
For an Instagram, TikTok or YouTube post, profile or channel URL, use the GraphQL social media import operations. Submission returns an import identifier; query it until the selected files are verified. Profile and channel imports select matching media from the first returned page, up to 100 files; single posts allow up to 20. See the reference for source-specific limits. Social media page URLs use this asynchronous flow rather than the direct-file operation below. For a remote source, useimport_file with a publicly downloadable
URL. A page that requires login or displays a preview is not necessarily a direct
file download. Wait for the import to return a usable asset reference.
Upload and import references belong to the connected account. A temporary upload
URL is for transferring bytes; use the completed asset reference as the input to
a later operation.