Skip to main content

Wanx AI - Text to Video

Generate high-quality videos from text descriptions using Wanx AI's advanced video generation models. Features multiple model variants including 14B and 1.3B parameter models with LoRA support and keyframe control.

Endpoint

Request Headers

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Request Parameters

Field NameTypeExampleDescriptionRequired
typestringTEXT_TO_VIDEOFeature identifier✔️
modelstringQubico/wanxAI model to use✔️
conversationIdstringTEXT_TO_VIDEOConversation context✔️
promptObject.promptstringcyberpunk cityscapeText description of the video✔️
promptObject.taskTypestringtxt2video-14bModel variant to use✔️
promptObject.negativePromptstringblurry, low qualityWhat to avoid in the video
promptObject.aspectRatiostring16:9Video aspect ratio
promptObject.loraTypestringghibliLoRA effect type for LoRA models
promptObject.loraStrengthnumber0.8LoRA effect strength (0.1-1.0)

Available Model Variants

  • txt2video-14b - 14B parameter model for high-quality text-to-video generation
  • txt2video-1.3b - 1.3B parameter model for faster text-to-video generation
  • txt2video-14b-lora - 14B model with LoRA effects for stylized text-to-video

Supported Aspect Ratios

  • 16:9 - Widescreen format
  • 9:16 - Vertical/mobile format
  • 1:1 - Square format

LoRA Effect Types (for txt2video-14b-lora)

  • ghibli - Studio Ghibli animation style
  • flat-color - Flat color illustration style
  • passionate-kissing - Romantic scene effects

Code Examples

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "TEXT_TO_VIDEO",
"model": "Qubico/wanx",
"conversationId": "TEXT_TO_VIDEO",
"promptObject": {
"prompt": "cyberpunk cityscape with neon lights and flying vehicles",
"taskType": "txt2video-14b",
"negativePrompt": "blurry, low quality, distorted",
"aspectRatio": "16:9"
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features

Generated cURL Command:

curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "TEXT_TO_VIDEO",
"model": "Qubico/wanx",
"conversationId": "TEXT_TO_VIDEO",
"promptObject": {
"prompt": "cyberpunk cityscape with neon lights and flying vehicles",
"taskType": "txt2video-14b",
"negativePrompt": "blurry, low quality, distorted",
"aspectRatio": "16:9"
}
}'

Response

{}