chatgpt_generate_image
Generate or edit images from text prompts and reference files using ChatGPT subscription limits; returns a background job to poll until the image completes.
Instructions
Generate a real image, or edit reference images, with built-in OpenAI image generation using ChatGPT subscription limits. Describe size, composition, transparency and edits in the prompt. Returns a background job; poll chatgpt_job. No image is promised until the job completes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "chatgpt_generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional model ID from chatgpt_status. Defaults to the account default. | |
| prompt | Yes | The complete question, generation prompt, or image-edit instructions. | |
| conversation_id | No | Continue a conversation returned by this bridge. | |
| reference_images | No | Absolute local paths to PNG, JPEG, or WebP reference images. Only attach files the user intends to share. |