Skip to content
Developer Portal

Wan-Image-Small

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

Pricing:

num_outputsPrice
1 (default)$0.005 / image
2$0.01 / image
3$0.015 / image
4$0.02 / image

enable_copyright_filter rejects prompts that ask for a copyrighted character, a trademark or logo, or a real person's likeness. It is off by default and does not change the price. See Blocked requests.

Terminal window
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)

Terminal window
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"
}
}'
ParameterTypeDescription
promptstringText description of the image to generate
ParameterTypeDefaultDescription
juicedbooleanfalseEnable faster generation mode
aspect_ratiostring"16:9"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".
heightintegerHeight of the output image. Only used when aspect_ratio is "custom", and only works in multiples of 16
widthintegerwidth of the output image. Caveat! Only used when aspect_ratio is "custom", and only works in multiples of 16
output_formatstring"jpg"Output format: "png", "jpg", or "webp"
seedintegerRandom seed. Set for reproducible generation. Default is random
output_qualityinteger80Quality for jpg/webp (1-100)
num_outputsinteger1Number of images to generate, between 1 and 4
enable_copyright_filterbooleanfalseReject prompts that ask for a copyrighted character, a trademark or logo, or a real person's likeness. Does not change the price.