Jimeng Image
Jimeng Image Overview
Jimeng Image provides two integration methods: an OpenAI-compatible interface and an official format, supporting both image generation and image editing.
Jimeng Image
The Jimeng Image series provides unified image generation and editing capabilities, supporting models such as jimeng-4.0 and jimeng-4.5.
Quick Start
Image Generation
POST /v1/images/generations, submitted in OpenAI-compatible format.
Image Editing
POST /v1/images/edits, generates new images based on reference images.
Official Format Image Generation
POST /jm, Jimeng official format interface.
Official Format Query
POST /jm, queries the task status and result in the official format.
Supported Models
jimeng-4.0: Jimeng 4.0 modeljimeng-4.5: Jimeng 4.5 model
Integration Methods
| Operation | API | Description |
|---|---|---|
| Image Generation | POST /v1/images/generations | OpenAI-compatible format |
| Image Editing | POST /v1/images/edits | OpenAI-compatible format (multipart/form-data) |
| Official Image Generation | POST /jm | Official format, requires Action and Version query parameters |
| Official Query | POST /jm | Official format, query task status |
Note: This page mainly introduces the general conventions of the OpenAI-compatible interface. For the official format interface, please refer to the corresponding documents below.
Comparison
| Item | OpenAI Format | Official Format |
|---|---|---|
| Image generation entry | POST /v1/images/generations | POST /jm |
| Editing entry | POST /v1/images/edits | — |
| Query entry | Returned synchronously | POST /jm (Action=CVSync2AsyncGetResult) |
| Submission format | JSON / multipart/form-data | JSON + query parameters |
| Reference image | image field (URL or file) | image_urls array |
| Size control | size, ratio, resolution | width, height, resolution |