Skip to main content
POST

Usage Examples

1. Using an existing Media ID

If you have already uploaded media and have a media_id, use this method.

2. Using a Public URL

Upload from a URL and generate in a single step.

3. Uploading a Local File

Upload a file directly and generate in a single step.
Direct multipart upload supports local files up to 32 MB. For larger local files, see Large Local File Upload.

Generation Config Options

Troubleshooting

For the full list of API error codes, see Error Codes.

Authorizations

X-API-Key
string
header
required

API key for authentication. Obtain from your team admin.

Example: X-API-Key: vsk_abc123def456ghi789jkl012mno345pqr678stu901vwx234yz

Body

input
Using Media ID · object
required
generation_config
object

Configuration for text generation

Response

Job created successfully

job_id
string

Unique job identifier for tracking

status
string

Initial job status. Always queued for a fresh submission.

Example:

"queued"

media_id
string<uuid>

Media being processed