modelApiDoc_getStartedBeforeModelideogram/ideogram-v3/replace-backgroundmodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/ideogram/ideogram-v3/replace-background \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"image": "https://playgrounds-storage-public.runcomfy.net/tools/7018/media-files/usecase5-1-input.png",
"prompt": "Replace background with a moody nighttime city street—wet pavement reflecting warm golden streetlights and deep teal storefront glow, layered graffiti on aged brick walls, soft rain falling under atmospheric haze, distant silhouette of a tram fading into the mist"
}'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/ideogram/ideogram-v3/replace-background \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"image": "https://playgrounds-storage-public.runcomfy.net/tools/7018/media-files/usecase5-1-input.png",
"prompt": "Replace background with a moody nighttime city street—wet pavement reflecting warm golden streetlights and deep teal storefront glow, layered graffiti on aged brick walls, soft rain falling under atmospheric haze, distant silhouette of a tram fading into the mist"
}'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": [
"image",
"prompt"
],
"properties": {
"image": {
"title": "Image",
"description": "",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7018/media-files/usecase5-1-input.png"
},
"prompt": {
"title": "Prompt",
"description": "",
"type": "string",
"default": "Replace background with a moody nighttime city street—wet pavement reflecting warm golden streetlights and deep teal storefront glow, layered graffiti on aged brick walls, soft rain falling under atmospheric haze, distant silhouette of a tram fading into the mist"
},
"magic_prompt": {
"title": "Magic Prompt",
"description": "",
"type": "string",
"default": "ON",
"enum": [
"AUTO",
"ON",
"OFF"
]
},
"seed": {
"title": "Seed",
"description": "",
"maximum": 2147483647,
"minimum": 0,
"type": "integer",
"default": 70159819
},
"rendering_speed": {
"title": "Rendering Speed",
"description": "",
"type": "string",
"enum": [
"TURBO",
"BALANCED",
"QUALITY"
],
"default": "BALANCED"
},
"color_palette": {
"title": "Color Palette",
"description": "",
"type": "object",
"default": {
"name": "Ember"
}
},
"style": {
"title": "Style",
"description": "",
"type": "object",
"default": {
"style_type": "Auto"
}
}
}
}{
"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.