Overview
In WAND you can generate text, images, videos, and music, or process existing media. Before you start, choose the API access method you want to use.
Three Ways to Access WAND
There are currently 3 ways to access the WAND API: Tokenhub, VOD, and MPS.
| Access Method | Billing | Storage and Delivery | Authentication | Documentation to Start With |
|---|---|---|---|---|
| Tokenhub | Both image and video generation are billed by tokens | Download results from the URL returned by the API | Tokenhub API Key (Bearer) | Tokenhub API Reference |
| VOD | Billed by video duration and number of images | Uses VOD's built-in storage and delivery, no separate COS required | SecretId / SecretKey, SubAppId | VOD API Reference |
| MPS | Billed by video duration and number of images | Requires COS to be activated for storage | SecretId / SecretKey | MPS API Reference |
Key differences:
- Tokenhub vs. VOD / MPS: The difference is billing. Tokenhub bills both image and video generation by tokens, while VOD and MPS bill by generated video duration and number of images.
- MPS vs. VOD: The difference is storage. MPS requires you to also activate COS to store input and output files, while VOD lets you use its built-in storage and delivery services directly. Both use similar authentication, but their request fields and result query methods differ.
Choose the Service to Use
| Task | Documentation to Start With | Values to Prepare |
|---|---|---|
| Text and multimodal understanding | VOD Text | VOD Application and API Token |
| Image and video generation - Tokenhub | Tokenhub API Reference | Tokenhub API Key |
| Image, video, and music generation - MPS | MPS API Reference | SecretId / SecretKey |
| Image, video, and music generation - VOD | VOD API Reference | SecretId / SecretKey, SubAppId |
| Transcoding, quality enhancement, subtitles, dubbing | MPS Features | Account keys and input media |
Prepare Your Account and Permissions
- Prepare your account keys in Step 1. Sign In and Obtain a API Key.
- Step 2. Enable only the services you will use in the basic configuration of VOD / MPS.
- Configure the values used by your calling script in API Key Environment Variable Setup.
First Generation in the Console
Step 3. In the Console Guide, choose the task you want among image, video, and music. Resolution, aspect ratio, duration, and reference input limits differ by model, so check the basic information on the detail page.
First Generation with API
Save the request JSON on the model page, then call it in the order described in API Execution and Result Check. The TaskId in the generation response is the acceptance number. Download the result file after the query result reaches a completed status.
Next Steps
- Task Query: Check the status and result of asynchronous tasks
- Usage Query: Check usage
- FAQ: Troubleshoot errors and integration issues
- When requesting technical support, provide the RequestId, TaskId, the model and version you used, and the error code. Exclude the SecretKey and API Token.