Make a photo collage (heart, number, word...)
make_shape_collageBuilds a photo collage in the shape of a heart, a number (age, anniversary, year), a word, a star, a flower and more from the user's photos, and returns a watermarked preview within seconds. Use when the user asks for a heart collage, a birthday/anniversary number collage, a 'photo collage in the shape of ...', or a collage from several photos. Pass the photos as public links in photo_urls, or as files the user attached (photos). 1 to 300 photos; if there are fewer photos than cells, photos repeat. The result id (clg_...) is a private handle valid for 30 days; photos and results are deleted after 30 days. The preview is watermarked; the full-resolution file is downloaded from the collager.ai page given in full_resolution_page. Building can take up to a minute - if status is still processing, call get_shape_collage with the id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | Yes | The figure. Examples: {"type":"heart"} (size picked from the photo count), {"type":"heart","cells":70}, {"type":"number","text":"30"}, {"type":"text","text":"LOVE"}, {"type":"love"} ("I love you"), {"type":"star","size":"large"}, {"type":"grid","n":4}. Call list_collage_shapes for all options. | |
| photos | No | Photos the user attached in the chat. | |
| gap_pct | No | White gap between photos, % of a cell (default 6). | |
| background | No | Background colour: white (default), cream, pink, black or #rrggbb. | |
| photo_urls | No | Public http(s) links to the photos (JPEG/PNG/WEBP). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| cells | No | ||
| error | No | ||
| shape | No | ||
| status | Yes | ||
| next_step | No | ||
| expires_at | No | ||
| photos_used | No | ||
| preview_url | No | ||
| full_resolution_page | No |