Nodes/Phota API Nodes/Phota Generate
ComfyUI Node

Phota Generate

Generate images with the Phota API. Profiles keep the subjects' true likeness.

By photalabs·Created 2 months ago·Updated 2 months ago· 0
Phota Generate
  • subject_1
  • subject_2
  • IMAGE
promptA portrait of [[profile]] on a mountain summit at golden hour.
num_outputs1
aspect_ratioauto
resolution1K
qualityauto
profile_id
api_key
base_modelauto
CategoryPhota

Inputs (10)

NameTypeDefaultDescription
promptSTRINGA portrait of [[profile]] on a mountain summit at golden hour.Write [[profile]] for all connected subjects together, or [[profile1]]/[[profile2]] to place each subject in a distinct role.
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