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').

By photalabs·Created 2 months ago·Updated 2 months ago· 0
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)

NameTypeDefaultDescription
imageIMAGE
promptSTRINGMake this photo more vibrant.
num_outputsINT11–4
aspect_ratioCOMBOauto6 options: auto, 1:1, 3:4, 4:3, 9:16, 16:9
resolutionCOMBO1K3 options: 1K, 2K, 4K
qualityCOMBOauto4 options: auto, low, medium, high
profile_idoptSTRINGProfile 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_keyoptSTRINGLeave 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_modeloptCOMBOautoBase model. 'auto' uses the API default.
subject_1optPHOTA_PROFILETyped profile reference; fills [[profile1]] (and joins [[profile]]).
subject_2optPHOTA_PROFILETyped profile reference; fills [[profile2]] (and joins [[profile]]).

Outputs (1)

NameTypeDescription
IMAGEIMAGE