Vidu Image Generation
Copy success!
Overview
Input 0-14 reference images or text descriptions. Supports raw reference images, raw text images, and image editing. Offers accurate rendering of Chinese and English text, pixel-level reproduction of UI/chart design details, suitable for creating posters, infographics, etc.
Input
TextImage
Output
Image
Features
Prefix Completion
Enable Partial Mode when calling the Qwen API to make the model continue strictly from your provided prefix text.View docsFunction Calling
Use function calling to connect large language models with external tools and systems.View docsCache
Context Cache stores shared prefixes for long-context requests to reduce repeated computation, improve latency, and lower cost.View docsStructured Outputs
Structured Outputs help ensure the model returns a JSON string in the expected format.View docsPricing
- Image Generation (1K)$0.1Per image
- Image Generation (2K)$0.16Per image
- Image Generation (4K)$0.24Per image
Rate Limits
- Concurrency5concurrent
- Async Queue Limit500tasks
- RPMRequests Per Minute300
API Reference
Call APICopy success!
12345678910111213141516171819202122
curl --location 'https://maas.qwencloudapi.com/api/v1/services/aigc/image-generation/generation' \
--header 'X-DashScope-Async: enable' \
--header "Authorization: Bearer $DASHSCOPE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model": "vidu/vidu-image_reference2image",
"input": {
"messages": [
{
"role": "user",
"content": [
{
"text": "A flower shop with exquisite windows, a beautiful wooden door, and flowers on display."
}
]
}
]
},
"parameters": {
"size":"1024*1024"
}
}'