Chat Mode
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | ✅ Yes | gpt-4o-image-vip | The model to use for the request. gpt-4o-image-vip |
messages | array | ✅ Yes | - | Array of message objects for the conversation * role:user,The role of the message. * role:assistant,The role of the message. * role:system,The role of the message. |
content | array | ✅ Yes | - | text , image_url |
text | string | ✅ Yes | - | * type:text,The positive prompt for the generation. * type:image_url,Optional image reference that guides generation. |
image_url | object | ✅ Yes | - | * type:image_url,The URL of the image to use for the generation. |
stream | boolean | ❌ No | false | Whether to stream the response |