Skip to content

Video from Text

Generate video clips from text prompts. Choose from multiple models depending on your quality, speed, and style requirements.

POST /v1/autocontentengine/{id}/cells/{cell_id}/generate?agent_id={agent_id}
ParameterTypeDescription
idintegerThe sheet ID.
cell_idintegerThe cell ID.
ParameterTypeDescription
agent_idintegerThe agent ID.

Modelgeneration_typedata.model
Veo 3video_from_text"veo_3"
Veo 3 Fastvideo_from_text"veo_3_fast"
Veo 3.1video_from_text"veo_3_1"
Veo 3.1 Fastvideo_from_text"veo_3_1_fast"
Sora 2video_from_text"sora_2"
Kling 1.6video_from_text"kling_1_6"
Seedance Provideo_from_text"seedance_pro"
Seedance Pro 1.5video_from_text"seedance_pro_1_5"

FieldTypeRequiredDescription
generation_typestringYes"video_from_text".
data.promptstringYesText description of the video to generate. Supports {{variable_name}} syntax.
data.negative_promptstringNoWhat to avoid in the generated video.
data.modelstringNoModel variant. See Models table.
data.aspect_ratiostringNo"1:1", "9:16", or "16:9".
data.durationintegerNoVideo duration in seconds.
data.prompt_varstringNoVariable name to map the prompt value from a column.
data.negative_prompt_varstringNoVariable name to map the negative prompt from a column.

{
"generation_id": 9020,
"status": "pending"
}

Once complete, the generated video is available in output_resources. Poll with GET /v1/generations/{generation_id} to check status.


Terminal window
curl -X POST "https://api.gen.pro/v1/autocontentengine/101/cells/3100/generate?agent_id=42" \
-H "X-API-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"generation_type": "video_from_text",
"data": {
"prompt": "A drone shot flying over a tropical beach at golden hour, waves gently crashing on white sand, cinematic 4K",
"negative_prompt": "text, watermark, blurry, low quality",
"model": "veo_3",
"aspect_ratio": "16:9",
"duration": 10
}
}'
{
"id": 9020,
"status": "completed",
"user_job_type": "video_generation",
"result": null,
"failed_reason": null,
"output_resources": [
{
"id": 1700,
"url": "https://cdn.gen.pro/outputs/vid_001.mp4",
"thumbnail_url": "https://cdn.gen.pro/thumbnails/vid_001.jpg",
"object_type": "video",
"type": "output"
}
],
"execution_cost": 5.0
}

FieldTypeDescription
modelstringDefault model: "veo_3", "veo_3_fast", "veo_3_1", "veo_3_1_fast", "sora_2", "kling_1_6", "seedance_pro", or "seedance_pro_1_5".
ratiostringDefault aspect ratio: "1:1", "9:16", "16:9".
durationnumberDefault duration in seconds.
autoGeneratebooleanAuto-trigger generation when dependent variables change.