Wan-Image-Small
Fast, efficient text-to-image generation
Fast, efficient text-to-image generation
Wan-Image-Small is optimized for speed and efficiency, making it perfect for rapid prototyping, testing ideas, or generating large batches of images quickly. While smaller than other models, it still produces quality results with minimal parameters.
Rate Limit: 150 requests per minute
Category: Text-to-Image Generation
Price: 0.005$ / image
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: wan-image-small' \
-d '{
"input": {
"prompt": "A cute cat sitting on a windowsill, soft lighting, cozy atmosphere",
"aspect_ratio": "1:1"
}
}'
Synchronous Request (Try-Sync)
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: wan-image-small' \
-H 'Try-Sync: true' \
-d '{
"input": {
"prompt": "A cute cat sitting on a windowsill, soft lighting, cozy atmosphere",
"aspect_ratio": "1:1"
}
}'
| Parameter | Type | Description |
|---|---|---|
| prompt | string | Text description of the image to generate |
| Parameter | Type | Default | Description |
|---|---|---|---|
| juiced | boolean | false | Enable faster generation mode |
| aspect_ratio | string | "1:1" | Image aspect ratio. Options: "1:1", "16:9", "9:16", "4:3", "3:4", "21:9", "custom". If you choose "custom", you will have to fill "height" and "width". |
| heigth | integer | height of the output image. Caveat! Only used when aspect_ratio is "custom", and only works in multiples of 16 | |
| width | integer | width of the output image. Caveat! Only used when aspect_ratio is "custom", and only works in multiples of 16 | |
| output_format | string | "jpg" | Output format: "png", "jpg", or "webp" |
| seed | integer | Random seed. Set for reproducible generation. Default is random | |
| output_quality | integer | 80 | Quality for jpg/webp (1-100) |
| num_outputs | integer | 1 | Number of images to generate, between 1 and 4 |