infery
← All models

Wan

wan-v2.2-5b-text-to-image

Image generationby Alibaba

Wan 2.2's 5B model generates high-resolution, photorealistic images with powerful prompt understanding and fine-grained visual detail

images

Details

Accepts
text

Pricing

Price
2 cr / image

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducibility. If None, a random seed is chosen.
shiftnumberShift value for the image. Must be between 1.0 and 10.0.
promptrequiredstringThe text prompt to guide image generation.
image_sizeThe size of the generated image.
image_formatstringenum: png, jpegThe format of the output image.
guidance_scalenumberClassifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.
negative_promptstringNegative prompt for video generation.
num_inference_stepsintegerNumber of inference steps for sampling. Higher values give better quality but take longer.
enable_safety_checkerbooleanIf set to true, input data will be checked for safety before processing. Disabling it requires account authorization; unauthorized requests are always checked.
enable_prompt_expansionbooleanWhether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.
enable_output_safety_checkerbooleanIf set to true, output video will be checked for safety after generation.

Output

FieldTypeDescription
seedintegerThe seed used for generation.
imageThe generated image file.