Skip to main content

Branding

Place your existing brand assets into generated imagery: composite your real logo into a scene, and produce branded templates. Inject brand colours and style rules via the palette and logo_url fields. Both endpoints return a job_id with a matching GET …/status/{job_id} route, see Jobs.

POST /branding/logo/image/v1, place your existing logo (logo_url) into a generated branded image. prompt describes the scene or layout; your real mark is composited in, so this is logo placement, not logo generation.

curl -X POST https://api.imagepipeline.io/branding/logo/image/v1 \
-H "X-API-Key: $IMAGEPIPELINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "social hero banner for a summer sale, place the brand logo in the top-left, warm minimal layout",
"logo_url": "https://your-cdn/brand-logo.png",
"palette": ["#1c1a17", "#b08d57"],
"width": 1024,
"height": 1024
}'
FieldTypeDefaultNotes
promptstring,Required. Describe the scene or layout to place the logo into.
logo_urlstring,Public URL of your existing logo (PNG/WebP with transparency) to composite into the image. Without it, no mark is placed.
palettestring[],Brand colours as hex codes, e.g. ["#FF5733", "#3498DB"].
width / heightinteger1024Output dimensions (max 1024).
seedinteger-1-1 randomizes; set a value for reproducibility.
output_formatstringwebpwebp, jpeg, or png.
callback_urlstring,Receive a webhook on completion.
server_idstring,Enterprise: pin to a dedicated pod.

Response — poll GET …/status/{job_id} until status is completed:

{
"job_id": "job_9d4a1e6f",
"status": "completed",
"result_url": "https://cdn.imagepipeline.io/o/9d4a1e6f.webp",
"processing_time_seconds": 9.6,
"balance_remaining_usd": 187.52
}