seedinteger
Random seed for reproducibility [0, 2147483647].
Using the same seed produces more consistent results.
Note: Results are not guaranteed to be identical for every call even with the same seed.
sizeEnumDefault: "1664*928"
Image resolution in format "width\*height".
Default: 1664\*928
Available resolutions and aspect ratios:
- 1664\*928 (default): 16:9
- 1472\*1104: 4:3
- 1328\*1328: 1:1
- 1104\*1472: 3:4
- 928\*1664: 9:16
Possible values: 1664*928, 1472*1104, 1328*1328, 1104*1472, 928*1664
promptstring* required
Text description for the image (max 800 characters).
Describes the desired content, style, and composition of the generated image.
Supports both Chinese and English.
prompt_extendbooleanDefault: true
Enable intelligent prompt rewriting.
When enabled, the model optimizes and refines the positive prompt.
Keep enabled if your input prompt is simple or if you want the model to be more creative.
Set to false if your prompt is already detailed and professional.
safety_filterbooleanDefault: true
Enable content safety filter. Defaults to true. Set to false to disable content safety inspection.
negative_promptstring
Negative prompt describing unwanted content (max 500 characters).
Used to constrain the image generation.
Example: low resolution, low quality, deformed limbs, deformed fingers, oversaturated, waxy, no facial details, overly smooth, AI-like, chaotic composition, blurry text, distorted text.