ComfyUI Node
Phota Edit
Edit images with the Phota API using a text prompt. A connected profile preserves that subject's identity when they appear in the input image; write [[profile]] in the prompt to introduce them when they don't (e.g. 'a selfie of [[profile]] holding this product').
Phota Edit
- image
- subject_1
- subject_2
- IMAGE
◄promptMake this photo more vibrant.►
◄num_outputs1►
◄aspect_ratioauto►
◄resolution1K►
◄qualityauto►
◄profile_id►
◄api_key►
◄base_modelauto►
CategoryPhota
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| prompt | STRING | Make this photo more vibrant. | — |
| num_outputs | INT | 11–4 | — |
| aspect_ratio | COMBO | auto | 6 options: auto, 1:1, 3:4, 4:3, 9:16, 16:9 |
| resolution | COMBO | 1K | 3 options: 1K, 2K, 4K |
| quality | COMBO | auto | 4 options: auto, low, medium, high |
| profile_idopt | STRING | Profile ID(s) for identity preservation — connect a Phota Profile Selector or paste IDs, comma-separated for multiple subjects. The typed subject_1/subject_2 sockets take precedence for placeholder positions. | |
| api_keyopt | STRING | Leave empty (recommended) to use the PHOTA_API_KEY environment variable or phota.ini. A key typed here is saved inside the workflow — do not share such workflows. | |
| base_modelopt | COMBO | auto | Base model. 'auto' uses the API default. |
| subject_1opt | PHOTA_PROFILE | Typed profile reference; fills [[profile1]] (and joins [[profile]]). | |
| subject_2opt | PHOTA_PROFILE | Typed profile reference; fills [[profile2]] (and joins [[profile]]). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |