Skip to main content
Based on Jimeng’s text-to-image technology, version 3.1 improves visual quality, stylistic precision and variety, and detail while retaining the ability to render text from the prompt.
The following Image API parameters are not supported:
  • negative_prompt
  • image
  • strength
  • aspect_ratio
  • quality
  • style_preset
  • output_format
  • mask
  • background
  • response_format
  • watermark
See also: Official Jimeng Text-to-Image 3.1 API documentation.
For Jimeng Text-to-Image 3.1, use size to set the output width and height: Recommended aspect ratios:
  • Standard definition (1K):
  • High definition (2K):
The allowed range for width × height in pixels is [512x512, 2048x2048].

Text-to-image generation

Generate an image from a text prompt with Jimeng Text-to-Image 3.1. Enable enhance_prompt to expand and refine the input text:
The response is a JSON object containing the URL of the generated image: