quote_video
Check video generation cost before committing credits. Submit a prompt and receive the exact credit price and model that would be used, without generating or downloading anything.
Instructions
Price a generation without running it. Returns the credit cost and the model that would be used. Free, and the right way to answer 'what would this cost' — generate_video is the one that spends credits. Images are not downloaded for a quote, so the price reflects the kind of request rather than the pictures themselves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | No | Generate sound with the video. | |
| prompt | Yes | What the video should show. | |
| quality | No | Which tier the router should choose from. Default quality. | |
| imageUrl | No | https URL of an image to animate. Supplying one makes this image-to-video: the picture is the first frame and the prompt describes what happens to it. JPEG, PNG or WebP, up to 10 MB. Prefer this over describing a logo, a product or a face in words — a model asked to draw a specific logo will draw something close to it and no closer. | |
| modelSlug | No | Pin a specific model instead of letting the router choose. | |
| resolution | No | 720p, 1080p, 1440p or 4k. Default 720p. | |
| aspectRatio | No | ||
| endImageUrl | No | https URL of the frame to finish on. Needs imageUrl. Only some models publish a field for one; list_models with mode image_to_video shows which. | |
| durationSeconds | No | Clip length in seconds. Default 5. | |
| referenceImageUrls | No | https URLs of reference images, in the order the prompt addresses them as @Image1, @Image2 and so on. This is reference-to-video and is not combined with imageUrl. Order is preserved exactly as sent. |