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
  • wan22-txt2video-14b - Text to Video with Wan 2.2 model

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
  • nsfw-general - General NSFW effects
  • nsfw-undress - NSFW undressing effects
  • nsfw-pov-blowjob - NSFW POV effects
  • nsfw-pov-titfuck - NSFW POV effects
  • nsfw-pov-missionary - NSFW POV effects
  • nsfw-pov-cowgirl - NSFW POV 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​

{
"aiRecord": {
"uuid": "b574969b-4992-4173-9e62-7ebd4782103e",
"userId": "2f57c2a4-1fff-48e7-972f-3c1d6c59bced",
"teamId": "eb48d89f-1bb7-4d82-9b25-481971a0e97a",
"teamUser": {
"teamId": "eb48d89f-1bb7-4d82-9b25-481971a0e97a",
"userId": "2f57c2a4-1fff-48e7-972f-3c1d6c59bced",
"userName": "John",
"userAvatar": "https://lh3.googleusercontent.com/a/ACg8ocLqgsNsHRfmWF9d-E1RvJetVsEzxNOsOg-NXWNTpMxLDPJbwELI=s96-c",
"status": "ACTIVE",
"role": "ADMIN",
"creditLimit": 100000000,
"usedCredit": 17872338,
"createdAt": "2025-11-25T11:04:08.620Z",
"createdBy": "SYSTEM",
"updatedAt": "2025-11-26T09:20:02.221Z",
"updatedBy": "SYSTEM"
},
"model": "Qubico/wanx",
"type": "TEXT_TO_VIDEO",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2025-11-26T09:12:22.937Z",
"aiRecordDetail": {
"promptObject": {
"prompt": "cyberpunk cityscape with neon lights and flying vehicles",
"taskType": "txt2video-14b",
"aspectRatio": "16:9",
"negativePrompt": "blurry, low quality, distorted"
},
"resultObject": [
"development/videos/2025_11_26_16_19_59_053_318950.mp4"
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/videos/2025_11_26_16_19_59_053_318950.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAVRUVQEFIHSKAXGE7%2F20251126%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251126T092006Z&X-Amz-Expires=604800&X-Amz-Signature=12553a9758c0a02a36a1f48f28801e7d981304f0bf7f6a418ec241bacf1e8592&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject"
}
}