photoshop_generate_image
Creates an image from a text prompt using Firefly ImageGen, turning descriptions into new pictures for text-to-image workflows.
Instructions
Photoshop Generate Image (Firefly ImageGen): create an image from a text prompt.
Use when: the user asks for ImageGen, text-to-image, or a new picture from a description.
Returns: { ok, summary, details }. Preconditions: generative_fill capability; Adobe generative credits.
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": "photoshop_generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Width if creating new doc (default 1024) | |
| height | No | Height if creating new doc (default 1024) | |
| prompt | Yes | Image description | |
| document_id | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit. |