Multimodal does not mean one endpoint accepts every format. Confirm inputs and outputs, endpoint support, file limits and task lifecycle. Some video and music workflows require submission followed by status checks.
Separate understanding from generation
Vision understanding extracts information from an image; image generation creates an image. Speech recognition converts audio to text, while speech synthesis creates audio from text. These may require different models and endpoints.
Describe inputs, outputs and intermediate steps. A product clip might need copy, storyboards, images, video, narration and composition. Gateway integration covers model calls; your application still coordinates assets and assembles the result.
Check the interface contract
- Confirm the exact model ID, endpoint and accepted input types.
- Check image dimensions, audio formats, file sizes, durations and count limits.
- Determine whether the result is a file, URL, Base64 value or task ID.
- Check result URL expiry and storage requirements. Temporary URLs are not permanent storage.
Treat asynchronous jobs as stateful workflows
Store the task ID and submission time, and distinguish queued, processing, successful and failed jobs. Poll with intervals, a timeout and cancellation handling. Use callbacks or idempotency keys only when documented as supported.
A timeout does not necessarily mean generation failed. Check the existing job before resubmitting to avoid duplicates. Review outputs before publication and verify authorization for voice or likeness inputs.
Applying this to api-turbo
Use the public catalog to explore capabilities, then confirm the interface through an enabled channel. Text examples in the documentation do not automatically apply to video or music. Do not label an unconfigured modality as immediately available.
A minimal acceptance set covers a successful task, rejected input, timeout and failed result download. Retain test assets, expected outputs and the actual model ID for later channel changes.
References
Our approach: state prerequisites, cite primary sources and distinguish platform capabilities from enabled services. Guides make no performance or AI recommendation guarantees.