Price a short video
quote_videoUse this when the user wants Deepnia to make a short video: gets its exact price in Deepnia credits before anything is created. Nothing is charged. Reference images keep the exact product/person: give the product photo here. Show the price to the user; once they accept, call create_video with the quote_id and credits it returns: that call makes the video (a quote alone creates nothing).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | The model's mode (a quality tier, or the voice of a talking model): settings.modes in list_creation_options. Default: settings.defaultMode. | |
| model | No | Video model id from list_creation_options. Default: Deepnia's default. | |
| sound | No | false: no sound, on models with settings.soundSwitch true. Default: sound wherever the model makes it. | |
| prompt | Yes | What to create, in the user's words. | |
| end_image | No | The video ends on this picture, with start_image: { creation_id } or { url }. Models with end_image true in list_creation_options. | |
| resolution | No | Resolution, for example 720p. Default: the model's default; see list_creation_options. | |
| start_image | No | The video starts from this picture (image-to-video): { creation_id } or { url }. Models with start_image true in list_creation_options. | |
| aspect_ratio | No | Aspect ratio, for example 16:9 or 9:16. Default: the model's default; see list_creation_options. | |
| duration_seconds | No | Length in seconds. Default: the model's shortest. | |
| reference_images | No | Reference images keep the exact product/person: give the product photo here. The video shows them (not as its first frame). Not together with start_image. Each is { creation_id } or { url }; how many each model takes: max_reference_images in list_creation_options. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| type | Yes | ||
| model | Yes | ||
| credits | Yes | ||
| quote_id | Yes | ||
| can_create | Yes | ||
| expires_at | Yes | ||
| available_credits | Yes |