photoshop_generate_image
Generate a new image in Photoshop from a text prompt to create visual assets from descriptions without manual drawing.
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>",
"document_id": "<document_id>"
},
"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 | Yes | Photoshop document id from photoshop_get_state / photoshop_list_documents. Send null or 0 to use the active document. A positive number activates that document before the tool runs. When no document is open, a stale id does not block the call. |