Firefly - Photoshop icon

Firefly - Photoshop

Interact with Adobe Photoshop API for image manipulation

Edit Text Layer

AI-generated

Summary

Modify the text content of specified text layers within one or more PSD files by providing input PSD storage details, the text layer configurations to update, and output storage details for the edited PSD files.

Inputs

  • Inputs (JSON Array) (required) — Array of input storage configurations specifying the PSD files to edit.
  • Text Layers (JSON) (required) — Configuration JSON specifying the text layers to edit, each including the layer name and new text content.
  • Outputs (JSON Array) (required) — Array of output storage configurations where the edited PSD files will be saved.

Output shape

a JSON array with one entry per input PSD, each representing the result of the text layer edit operation

Each output corresponds to an edited PSD file stored as configured. Errors per item are returned if the operation fails for a specific input.

Examples

Example 1: Edit the text content in specific text layers of input PSD files, saving the results to configured output storages.

Specify the input PSD files location using JSON array configuration, provide text layer updates in JSON format identifying layer names and new text content, then define output storage locations for the resulting PSD files.

Discussion