Create a video
create_videoStart generating a video from a text description with GenMagic, with any text-to-video model, clip length, resolution and sound the model supports (list_models with category "video" shows them and the per-second price). Video is asynchronous, so this returns a job id immediately (nothing is charged yet). Poll it with the get_video tool every few seconds until the status is "completed" to get the hosted video URL. A failed render is never charged. On-brand automatically when the account has brand personalization on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional GenMagic model id for the video (call list_models with category "video" for the ids and prices). Omit it to let GenMagic choose its default. | |
| prompt | Yes | A description of the video to create. | |
| duration | No | Clip length in seconds, one of the lengths the model supports (list_models shows durations_seconds). Omit for the model's default. | |
| resolution | No | Output resolution the model supports, e.g. 720p or 1080p (list_models shows resolutions). Omit for the model's default. | |
| aspect_ratio | No | Aspect ratio: 16:9 (landscape), 9:16 (portrait), or 1:1 (square). Defaults to 16:9. | |
| generate_audio | No | Generate sound with the clip on models that support it (list_models shows audio_supported). Omit for the model's default. |