infery
← All models

Wan

wan-v2.2-a14b-text-to-image

Image generationby Alibaba

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

images

Details

Accepts
text + image

Pricing

Price
6.25 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.
accelerationstringenum: none, regularAcceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'.
guidance_scalenumberClassifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.
negative_promptstringNegative prompt for video generation.
guidance_scale_2numberGuidance scale for the second stage of the model. This is used to control the adherence to the prompt in the second stage of the model.
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.
strengthnumberDenoising strength. 1.0 = fully remake; 0.0 = preserve original.
image_urlstringURL of the input image.
aspect_ratiostringenum: auto, 16:9, 9:16, 1:1Aspect ratio of the generated image. If 'auto', the aspect ratio will be determined automatically based on the input image.
image_formatstringenum: png, jpegThe format of the output image.

Output

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