Text To Video
text_to_videoGenerates a video from a text prompt and returns the video URL. Set model, resolution, frames, and steps to control output, and use get_available_models first to check each model's limits.
Instructions
Generate video from text prompt.
Creates videos from text descriptions. Returns the generated video URL.
IMPORTANT: Before calling this tool, use get_available_models() to check the model's specifications. Pay special attention to:
limits.max_steps/min_steps: Valid range for steps parameter
limits.max_fps/min_fps: Valid range for fps parameter
defaults: Recommended values for the model
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"model": "<model>"
},
"name": "text_to_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frames per second. Defaults to the model's own value (see the model list); most models fix it | |
| seed | No | Random seed for reproducibility | |
| model | Yes | Video generation model name | |
| steps | No | Number of inference steps. Defaults to the model's own value (see the model list); ignored by models that do not support steps | |
| width | No | Video width in pixels. Defaults to the model's own value (see the model list) | |
| frames | No | Number of video frames. Defaults to the model's own value (see the model list); each model has its own range | |
| height | No | Video height in pixels. Defaults to the model's own value (see the model list) | |
| prompt | Yes | Text prompt for video generation | |
| webhook_url | No | HTTPS URL for deAPI to call when this job finishes. Notifies your own systems; the tool still returns the result here | |
| enhance_prompt | No | Let the API rewrite the prompt before generating. Only on models with a prompt-booster guide (422 otherwise); its fee is charged on the job and is not in the /price quote | |
| guidance_scale | No | Guidance scale. Leave unset to use the model's own default; no model in the catalogue currently supports guidance | |
| webhook_secret | No | 32-255 char key deAPI signs the callback with (HMAC-SHA256). Needs webhook_url. A secret given in chat stays in the transcript | |
| negative_prompt | No | Things to exclude (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||