Skip to main content
Use a photography profile to tell your agents what a brand’s photos look like, so the images they create or pick match the brand’s photography and not just its colors and type. Each photo is read against a fixed schema of 45 fields (light, framing, subject, color, finish, and more) and its pixels are measured; the photos are then merged into one profile. A photography profile is a submission like a website extraction or a brand kit, but it takes photos instead of a URL or a PDF, and its result has kind: "photography" and its own shape.

Build a profile

Send 1 to 12 photos, each as a public https:// url or as image_b64 (PNG, JPEG, or WebP):
The API returns 202 with a submission_id. Poll GET /design/submissions/{id} until status is completed or failed, then read the profile from GET /design/submissions/{id}/result. A profile usually takes under a minute. Photography profiles appear in GET /design/submissions next to other submissions; filter them with ?kind=photography. A profile’s source_url is the first photo’s URL, or upload:// followed by the photo count when the photos were uploaded.
Each submission costs 2 credits, refunded when no profile comes back. Every request is a fresh profile: profiles are never served from cache.

How many photos to send

  • One photo: the profile is that photo’s own reading.
  • Two or more: rules keeps the values most of the photos share; with two photos, that is what both share. The rest goes to varies.
Send 3 to 8 photos that represent the brand for a profile you can generalize from.

Use cases

  • From a brand kit: give your agent a brand kit, have it take the brand’s photos from the kit, and send them to the photography endpoint. The profile it gets back describes how the brand’s photos look, so the new photography your agent creates stays aligned with the brand.
  • From a website: do the same with a website extraction. Send the site’s images and use the profile to create, for example, a new subpage whose photography matches the rest of the site. Any graphics or illustrations among those images are left out on their own.

What is left out

Every photo is read, but only photographs are merged. A photo that reads as a graphic or illustration, a photoreal render, or a composite is left out of the profile, and its outcome says why in excluded. Photos that cannot be used, such as an unreachable URL or a file that is not an image, come back as invalid. When no photo is left to merge, the submission fails and the credits are refunded. Its error tells you what to do:
The result endpoint returns 409 NOT_READY until the profile is completed, including for a failed submission. Read the outcome from GET /design/submissions/{id}.

Read the result

The following example comes from six Ai2 photos. Most rules, variations, and outcomes are omitted.

Give it to your agents

Hand your agent profile.rules and profile.tone as the brief for new imagery, and profile.varies as what it is free to change. Ask it to check its output against the rules, the same way it checks copy against a brand kit’s rules.