modelApiDoc_getStartedBeforeModelopenai/gpt-image-1-5/image-to-imagemodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/openai/gpt-image-1-5/image-to-image \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "A photorealistic wide drone shot of a colossal man (exact face/body from the reference) casually sitting across a London street, one knee raised, hand resting. He wears a navy overcoat, knit sweater, dark trousers, boots, and a minimalist beanie. Tiny cars, buses, bikes, and pedestrians move around him, with classic London red-brick buildings, black lamps, and cobblestone streets dwarfed by his size. Soft overcast London daylight highlights wet pavement.",
"image_urls": [
"https://playgrounds-storage-public.runcomfy.net/tools/7286/media-files/input-1-1.jpg"
]
}'modelApiDoc_authP1 YOUR_API_TOKEN modelApiDoc_authP2 modelApiDoc_profilemodelApiDoc_authP3 Authorization modelApiDoc_authP4 Authorization: Bearer $YOUR_API_TOKENmodelApiDoc_authP5
modelApiDoc_submitBody
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/openai/gpt-image-1-5/image-to-image \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "A photorealistic wide drone shot of a colossal man (exact face/body from the reference) casually sitting across a London street, one knee raised, hand resting. He wears a navy overcoat, knit sweater, dark trousers, boots, and a minimalist beanie. Tiny cars, buses, bikes, and pedestrians move around him, with classic London red-brick buildings, black lamps, and cobblestone streets dwarfed by his size. Soft overcast London daylight highlights wet pavement.",
"image_urls": [
"https://playgrounds-storage-public.runcomfy.net/tools/7286/media-files/input-1-1.jpg"
]
}'modelApiDoc_monitorBody
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
--header "Authorization: Bearer <token>"modelApiDoc_retrieveBody
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
--header "Authorization: Bearer <token>"modelApiDoc_cancelBody
curl --request POST \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
--header "Authorization: Bearer <token>"modelApiDoc_hostedFileBody
{
"type": "object",
"title": "modelApiDoc_navInputSchema",
"required": [
"prompt",
"image_urls"
],
"properties": {
"prompt": {
"title": "Prompt",
"description": "",
"type": "string",
"default": "A photorealistic wide drone shot of a colossal man (exact face/body from the reference) casually sitting across a London street, one knee raised, hand resting. He wears a navy overcoat, knit sweater, dark trousers, boots, and a minimalist beanie. Tiny cars, buses, bikes, and pedestrians move around him, with classic London red-brick buildings, black lamps, and cobblestone streets dwarfed by his size. Soft overcast London daylight highlights wet pavement."
},
"image_urls": {
"title": "Images",
"description": "The URLs of the images to use as a reference for the generation",
"type": "array",
"items": {
"type": "string",
"format": "image_uri"
},
"maxItems": 10,
"minItems": 1,
"default": [
"https://playgrounds-storage-public.runcomfy.net/tools/7286/media-files/input-1-1.jpg"
]
},
"image_size": {
"title": "Aspect Ratio (W:H)",
"description": "Aspect ratio for the generated image",
"type": "string",
"enum": [
"auto",
"1024x1024",
"1536x1024",
"1024x1536"
],
"default": "auto"
},
"background": {
"title": "Background",
"description": "Background for the generated image",
"type": "string",
"enum": [
"auto",
"transparent",
"opaque"
],
"default": "auto"
},
"quality": {
"title": "Quality",
"description": "Quality for the generated image",
"type": "string",
"enum": [
"low",
"medium",
"high"
],
"default": "high"
},
"input_fidelity": {
"title": "Input Fidelity",
"description": "Input fidelity for the generated image",
"type": "string",
"enum": [
"low",
"high"
],
"default": "high"
},
"output_format": {
"title": "Output Format",
"description": "Output format for the images",
"type": "string",
"enum": [
"jpeg",
"png",
"webp"
],
"default": "png"
}
}
}{
"output": {
"type": "object",
"properties": {
"image": {
"type": "string",
"format": "uri",
"description": "modelApiDoc_outDescImage"
},
"video": {
"type": "string",
"format": "uri",
"description": "modelApiDoc_outDescVideo"
},
"images": {
"type": "array",
"description": "modelApiDoc_outDescImages",
"items": {
"type": "string",
"format": "uri"
}
},
"videos": {
"type": "array",
"description": "modelApiDoc_outDescVideos",
"items": {
"type": "string",
"format": "uri"
}
}
}
}
}RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.