Skip to main content
Jimeng 4.0 combines Jimeng’s text-to-image, image editing, and multi-image composition capabilities in one framework. It accepts up to 10 images for combined edits and reasons about the prompt to choose the aspect ratio, dimensions, and output count, generating up to 15 related images in one request. It improves Chinese text accuracy and content diversity and supports 4K output for professional image creation and editing.
The following Image API parameters are not supported:
  • negative_prompt
  • aspect_ratio
  • quality
  • style_preset
  • output_format
  • mask
  • background
  • response_format
  • watermark
See also: Official Jimeng Image Generation 4.0 API documentation.
For Jimeng Image Generation 4.0, use size to set the output width and height: Recommended aspect ratios:
  • 1K:
  • 2K:
  • 4k:
The default size is 2048x2048. The allowed range for width × height in pixels is [1024x1024, 4096x4096]. Use strength instead of the official scale to control the influence of the text description. The range is [0, 1] and the default is 0.5. Higher values give the text more influence and the input image less.

Text-to-image generation

The response is a JSON object containing the URL of the generated image:

Image-to-image generation

Single image
The response is a JSON object containing the URL of the generated image:
Multiple images
The response is a JSON object containing the URL of the generated image:
By default, Jimeng 4.0 determines how many images to generate from the prompt:
The response is a JSON object containing the URL of the generated image: