Skip to content

Overview ​

Updated

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 MethodBillingStorage and DeliveryAuthenticationDocumentation to Start With
TokenhubBoth image and video generation are billed by tokensDownload results from the URL returned by the APITokenhub API Key (Bearer)Tokenhub API Reference
VODBilled by video duration and number of imagesUses VOD's built-in storage and delivery, no separate COS requiredSecretId / SecretKey, SubAppIdVOD API Reference
MPSBilled by video duration and number of imagesRequires COS to be activated for storageSecretId / SecretKeyMPS 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 ​

TaskDocumentation to Start WithValues to Prepare
Text and multimodal understandingVOD TextVOD Application and API Token
Image and video generation - TokenhubTokenhub API ReferenceTokenhub API Key
Image, video, and music generation - MPSMPS API ReferenceSecretId / SecretKey
Image, video, and music generation - VODVOD API ReferenceSecretId / SecretKey, SubAppId
Transcoding, quality enhancement, subtitles, dubbingMPS FeaturesAccount keys and input media

Prepare Your Account and Permissions ​

  1. Prepare your account keys in Step 1. Sign In and Obtain a API Key.
  2. Step 2. Enable only the services you will use in the basic configuration of VOD / MPS.
  3. 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.

Source:docs/wand/docs/index.md ​

Built with VitePress · Deployed on Tencent EdgeOne Pages