spraay_compute_video_generation
Generate video from text prompts using selected AI models. Asynchronous processing with polling for results; costs $0.40-$0.50 USDC per video.
Instructions
Generate video from text via Spraay Compute. MiniMax Video 01, Wan 2.1 via Replicate. Async — poll spraay_compute_status for results. Costs $0.40-$0.50 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model: 'auto', 'minimax-video-01', 'wan-2.1' | auto |
| prompt | Yes | Text prompt describing the video to generate | |
| duration_seconds | No | Video duration in seconds (default 4) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |