Model ID
alibaba/qwen-image-3.0
Capabilities
| Modes | Text-to-image · Image-to-image |
| Inputs | Up to 3 images (image-to-image) |
| Native auto size | No |
| Magic prompt | Supported |
| Native enhance prompt | Yes |
Generate
import Mynth from "@mynthio/sdk";
const mynth = new Mynth();
const task = await mynth.image.generate({
prompt: "A bilingual travel poster with precise typography and layered paper textures",
model: "alibaba/qwen-image-3.0",
size: "landscape",
count: 1,
});
console.log(task.urls);
curl https://api.mynth.io/image/generate \
-X POST \
-H "Authorization: Bearer $MYNTH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A bilingual travel poster with precise typography and layered paper textures",
"model": "alibaba/qwen-image-3.0",
"size": "landscape",
"count": 1
}'
Use inputs
Pass up to 3 input images for image-to-image. URLs or uploaded files both work. See Upload input images.const task = await mynth.image.generate({
prompt: "Combine these references into a cinematic product campaign",
model: "alibaba/qwen-image-3.0",
inputs: [
"https://example.com/product.jpg",
"https://example.com/style.jpg",
"https://example.com/composition.jpg",
],
size: "landscape",
});
curl https://api.mynth.io/image/generate \
-X POST \
-H "Authorization: Bearer $MYNTH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Combine these references into a cinematic product campaign",
"model": "alibaba/qwen-image-3.0",
"inputs": [
{
"type": "image",
"source": { "type": "url", "url": "https://example.com/product.jpg" }
},
{
"type": "image",
"source": { "type": "url", "url": "https://example.com/style.jpg" }
},
{
"type": "image",
"source": { "type": "url", "url": "https://example.com/composition.jpg" }
}
],
"size": "landscape"
}'