Image Translation API
Download OpenAPI DocumentTranslate the text inside images and creatives, create on-brand variants and adapt layouts, keeping the design.
This API covers two kinds of work: translating images, and creating, editing and adapting them for your brand. New here? Read Image Translation for the translation flow and Image creation and adaptation for the rest, then make your first call with the Quickstart.
Every request
Send your organization API key in the x-api-key header; it starts with uvk_. Create one in the Universe app under Settings → API keys. The key and organization limits count requests over a rolling minute. See Authentication and Rate limits.
For one image into one language, call Translate an image and poll Get a translation. To check the plan first, or to translate into several languages, call Analyze an image, poll Get the analysis, then Translate an analyzed image.
Languages are keys such as english_united_states and hindi_india, not ISO codes. With a translation memory (tmId), use the languages of that memory.
Rendering runs in the background, so start calls return IDs straight away and you poll for the result. Endpoints that charge credits say so on their page, with the current price; without enough credits they return 402 and nothing is created. Estimate credits prices a batch before you start it. See Credits.
Translation jobs
A job is one source image and the languages it is translated into. Start one with Translate an image (one language, no checks) or Analyze an image (a plan you can check, any number of languages), then render, retry, file and delete it here.
- POST/v1/galaxy/translate-photo/image-translator/upload/presign
- GET/v1/galaxy/translate-photo/image-translator/analyze/estimate
- POST/v1/galaxy/translate-photo/image-translator/direct-translate
- POST/v1/galaxy/translate-photo/image-translator/analyze
- GET/v1/galaxy/translate-photo/image-translator/result/{jobId}
- POST/v1/galaxy/translate-photo/image-translator/{id}/translate
- POST/v1/galaxy/translate-photo/image-translator/{id}/retry
- GET/v1/galaxy/translate-photo/image-translator/jobs/list
- GET/v1/galaxy/translate-photo/image-translator/{id}
- PUT/v1/galaxy/translate-photo/image-translator/{id}
- PATCH/v1/galaxy/translate-photo/image-translator/{id}/project
- GET/v1/galaxy/translate-photo/image-translator/{id}/usage
Get an upload URL
Estimate credits
Translate an image
Analyze an image
Get the analysis
Translate an analyzed image
Retry a failed job
List jobs
Get a job
Update a job
Move a job to a project
Get a job's credit usage
Translations
A translation is one rendered image in one language. Every render and every AI edit makes a new one, so a job can hold many. Poll a translation until it is completed, then download it or save it to your assets.
- GET/v1/galaxy/translate-photo/image-translator/{id}/translations
- GET/v1/galaxy/translate-photo/image-translator/{id}/translations/{translationVersionId}
- GET/v1/galaxy/translate-photo/image-translator/{id}/translations/{translationVersionId}/download
- POST/v1/galaxy/translate-photo/image-translator/versions/{versionId}/save-to-drive
- GET/v1/galaxy/translate-photo/image-translator/{id}/translations/{translationVersionId}/usage
List translations
Get a translation
Download a translation
Save a translation to assets
Get a translation's credit usage
Translation review
Check and correct the text of a translation region by region: change its wording, mark it verified or approved, and keep your translation memory in step in either direction. Changing text here does not render the image again.
- PUT/v1/galaxy/translate-photo/image-translator/{id}/translations/{translationVersionId}/region-text
- PUT/v1/galaxy/translate-photo/image-translator/{id}/translations/{translationVersionId}/region-status
- PUT/v1/galaxy/translate-photo/image-translator/{id}/translations/{translationVersionId}/bulk-region-status
- PUT/v1/galaxy/translate-photo/image-translator/{id}/translations/{translationVersionId}/sync-to-tm
- PUT/v1/galaxy/translate-photo/image-translator/{id}/translations/{translationVersionId}/sync-from-tm
Edit a region's text
Set a region's status
Set the status of several regions
Sync a translation to the TM
Update a translation from the TM
AI edits
Change the picture without touching the translation: edit a masked area, change single elements with instructions, place another image into the design, change the whole image with a prompt, or change its shape. Edits with a translationVersionId make a new translation; the others make a new analysis version.
- POST/v1/galaxy/translate-photo/image-translator/{id}/element-edit
- POST/v1/galaxy/translate-photo/image-translator/{id}/annotation-edit
- POST/v1/galaxy/translate-photo/image-translator/{id}/area-edit
- POST/v1/galaxy/translate-photo/image-translator/{id}/master-prompt
- POST/v1/galaxy/translate-photo/image-translator/{id}/asset-compose
- POST/v1/galaxy/translate-photo/image-translator/{id}/resize
- POST/v1/galaxy/translate-photo/image-translator/{id}/reanalyze
Edit elements with instructions
Edit by point annotations
Edit a masked area
Regenerate with a prompt
Add an image to the design
Change the aspect ratio
Re-run the analysis
Analysis versions
Each re-analysis, resize or edit without a translationVersionId makes a new analysis version of a job, which becomes current. List them, see what each cost, and switch back to an earlier one.
List analysis versions
Make an analysis version current
Get an analysis version's credit usage
Overlay assets
Your organization's library of images to place into designs, such as logos, stickers and icons. Every job can use them, as an image to add to the design or as a logo replacement.
List library assets
Upload a library asset
Add a library asset from your assets
Created images
Generate images from a text prompt and edit them with instructions, a mask or changes to single elements. Each call waits for the image and returns it. Created images stay in your history until you delete them; save the ones you keep to your assets, or hand them to image translation.
- POST/v1/galaxy/translate-photo/image-creator/generate
- GET/v1/galaxy/translate-photo/image-creator
- POST/v1/galaxy/translate-photo/image-creator/{id}/edit
- POST/v1/galaxy/translate-photo/image-creator/{id}/analyze
- POST/v1/galaxy/translate-photo/image-creator/{id}/retry
- POST/v1/galaxy/translate-photo/image-creator/{id}/save-to-drive
- POST/v1/galaxy/translate-photo/image-creator/translation-sources
- POST/v1/galaxy/translate-photo/image-creator/upload/presign
Generate an image
List created images
Edit a created image
Detect image elements
Retry a failed image
Save an image to assets
Prepare images for translation
Get an upload URL for an edit
Image collections
Named groups of created images, such as the images for one campaign. An image can be in several collections, and adding it does not move or copy it.
Create a collection
List collections
Get a collection
Update a collection
Add images to a collection
Brand kits
A brand kit holds a brand identity: colors, fonts, tone of voice, visual style and a logo. Extract one from a website, images or a PDF, check it, then save it. Brand kits belong to your organization.
- POST/v1/brand-kit/upload/presign
- POST/v1/brand-kit/extract
- POST/v1/brand-kit
- GET/v1/brand-kit
- GET/v1/brand-kit/{id}
- PATCH/v1/brand-kit/{id}
- POST/v1/brand-kit/{id}/upload/presign
- POST/v1/brand-kit/{id}/fonts/{role}
- PATCH/v1/brand-kit/{id}/fonts/{role}
- GET/v1/brand-kit/{id}/fonts/{role}
- GET/v1/brand-kit/{id}/fonts/{role}/faces/{faceId}
Get an upload URL
Extract a brand identity
Create a brand kit
List brand kits
Get a brand kit
Update a brand kit
Get an upload URL for a brand kit
Upload a brand font
Choose a brand font’s weight
Download a brand font
Download a brand font style
Layout adaptation
Adapt one design to many formats. Upload the source image and create a design: Pro designs are analyzed first, so each format gets a layout plan you can check, while Flash designs are rendered straight away. Then create a variant for every format you need.
- POST/v1/galaxy/translate-photo/adapt/upload/presign
- POST/v1/galaxy/translate-photo/adapt/upload/check
- POST/v1/galaxy/translate-photo/adapt/assets
- GET/v1/galaxy/translate-photo/adapt/assets
- GET/v1/galaxy/translate-photo/adapt/{id}
- GET/v1/galaxy/translate-photo/adapt/tasks/{taskId}
- POST/v1/galaxy/translate-photo/adapt/{id}/approve
- POST/v1/galaxy/translate-photo/adapt/{id}/clean-background
- POST/v1/galaxy/translate-photo/adapt/{id}/adapt
- POST/v1/galaxy/translate-photo/adapt/{id}/elements
- GET/v1/galaxy/translate-photo/adapt/{id}/elements
- POST/v1/galaxy/translate-photo/adapt/assets/{id}/rename
- PATCH/v1/galaxy/translate-photo/adapt/assets/{id}/project
Get a design upload URL
Check a design upload
Create a design
List designs
Get a design
Get a design task
Approve a design
Generate a clean background
Create variants
Add a design element
List design elements
Rename a design
Move a design to a project
Adapted variants
A variant is one design in one format. Poll it until its plan or image is ready, approve or revise a Pro layout plan, review and fix the result, and export the image. Every render, edit, fix and recrop makes a new version, and you can switch back to any of them.
- GET/v1/galaxy/translate-photo/adapt/{id}/variants
- GET/v1/galaxy/translate-photo/adapt/variants/{variantId}
- POST/v1/galaxy/translate-photo/adapt/variants/{variantId}/approve-plan
- POST/v1/galaxy/translate-photo/adapt/variants/{variantId}/regenerate-plan
- POST/v1/galaxy/translate-photo/adapt/variants/{variantId}/regenerate-image
- POST/v1/galaxy/translate-photo/adapt/variants/{variantId}/review
- POST/v1/galaxy/translate-photo/adapt/variants/{variantId}/fix-issues
- POST/v1/galaxy/translate-photo/adapt/variants/{variantId}/edit-mask
- POST/v1/galaxy/translate-photo/adapt/variants/{variantId}/recrop
- GET/v1/galaxy/translate-photo/adapt/variants/{variantId}/versions
- GET/v1/galaxy/translate-photo/adapt/variants/{variantId}/versions/{versionId}
- POST/v1/galaxy/translate-photo/adapt/variants/{variantId}/versions/{versionId}/activate
- GET/v1/galaxy/translate-photo/adapt/variants/{variantId}/export
- POST/v1/galaxy/translate-photo/adapt/variants/export
- POST/v1/galaxy/translate-photo/adapt/variants/{variantId}/save-to-drive
- POST/v1/galaxy/translate-photo/adapt/mask/upload/presign
List variants
Get a variant
Approve a layout plan
Revise a layout plan
Regenerate a variant image
Review a variant
Check the active image of a variant against the original design: are its texts right (typo, missing), and are its subjects, logos and other elements intact (error, missing)? Needs a design with a Pro analysis. The request waits for the review and returns the variant with the findings in reviewData: APPROVED when nothing is wrong, else NEEDS_REVIEW. Fix what it found with Fix review issues. A new review replaces the last one; it does not create a version.
Permission: translate_photo.design_agent:create. An API key acts with the role of the member who created it.
Credits: Charged when the request starts. Refunded if the review fails.
| Rate | What it covers | Price |
|---|---|---|
| Variant QA review | AI quality review of a generated variant. | 200 credits |
Path Parameters
ID of the variant (variantId from Create variants).
Bodyapplication/json
Optional model overrides. Usually left out.
Show child attributes
Reasoning model override. Leave it out to use the default, which suits most designs.
Image model override. Leave it out to use the default, which suits most designs.
Responses
201The variant with the review in `reviewData`.
The variant.
Show child attributes
Model input tokens used so far. For reporting only.
Model output tokens used so far. For reporting only.
Model reasoning tokens used so far. For reporting only.
Sum of all tokens used so far. For reporting only.
Token totals split by the model that used them.
ID of the variant.
Where the variant is. Pro: PLAN_PENDING (plan ready to approve, or still being made while layoutPlan is null) → GENERATING → REVIEW_PENDING, then NEEDS_REVIEW or APPROVED after a review. Flash: GENERATING → APPROVED. FAILED when rendering failed (see errorLog).
The variantCategory you sent.
Language of the variant; the design's when you sent none.
The targetConfig you sent (width, height, …), plus the modelConfig in use.
The layout plan. null while a Pro plan is being made; Flash variants carry a placeholder plan.
Show child attributes
The plan itself.
Show child attributes
Prompt the image is rendered from. For Flash variants it is a fixed placeholder.
Why the planner chose this layout.
How the plan keeps content inside safe margins.
One placement per element of the design.
Show child attributes
ID of the element from the design analysis. Use it in perElementNotes of Revise a layout plan.
What the plan does with the element.
Where the element goes on the new canvas.
Show child attributes
Distance from the top of the canvas, in % (0–100).
Distance from the left of the canvas, in % (0–100).
Width, in % of the canvas.
Height, in % of the canvas.
Restyled text as HTML, when the plan restyles a text.
Planner notes on the element.
Problems found when checking the plan (Pro only).
Show child attributes
Element IDs the planner used that the design does not have.
Element IDs whose box fell outside the canvas.
When the plan was made (Pro only).
Generation settings: what you sent in generationConfig, plus defaults.
URL of the image of the active version. null until the first image is rendered.
URL of a smaller preview, when one exists.
ID of the asset in your organization's Assets, when the image was saved there.
Extra knowledge for this variant. Usually null.
Result of the latest review (Review a variant). null until one has run.
Show child attributes
Text review.
Show child attributes
Each text of the design, matched in the variant.
Show child attributes
ID of the text element in the design. Pass it in selectedIssueIds to Fix review issues.
typo and missing are issues you can fix.
Text read in the variant.
Where the text is in the variant: [ymin, xmin, ymax, xmax] on a 0–1000 scale. null if missing.
The correction to make.
Boxes of stray text in the variant that is not in the design. Fix the box at index n with the issue ID __hallucination_<n>.
Visual review.
Show child attributes
Each visual element of the design, matched in the variant.
Show child attributes
ID of the visual element in the design. Pass it in selectedIssueIds to Fix review issues.
Kind of element.
error and missing are issues you can fix.
What the reviewer saw.
Where the element is in the variant: [ymin, xmin, ymax, xmax] on a 0–1000 scale. null if missing.
The correction to make.
IDs removed from the review because they do not exist.
Show child attributes
Text IDs the reviewer reported that the design does not have; dropped from the review.
Visual IDs the reviewer reported that the design does not have; dropped from the review.
Tokens used by the text review.
Tokens used by the visual review.
Tokens used by the whole review.
Model that ran the review.
Why the last render failed, when status is FAILED.
ID of the active version. null until the first image is rendered.
ID of the design the variant belongs to.
Member who created the variant.
Your organization ID.
When the variant was created.
When the variant last changed. Poll on it.
Always null.
URL of a small copy of the image (WebP, longest side 512 px, uncropped) for lists and cards. Null until it is made, shortly after the image.
400An ID in the path is not a UUID (`Validation failed (uuid is expected)`). Or nothing was charged because: - `Variant has no generated image to review`. - `Parent asset or design knowledge not found`: the design has no analysis (Flash designs never do). - `Parent asset has no source image`. - `Auto review-fix loop is in progress; wait for it to finish before running a manual review`.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
402Not enough credits, or your organization owes credits. Nothing was started.
HTTP status code.
Always InsufficientCredits.
What happened, in plain words.
Credits this request needs.
Credits your organization can spend now.
Credits your organization owes from earlier jobs (0 when nothing is owed). While anything is owed, every paid request is refused until it is repaid.
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
404No variant with this `variantId` in your organization (`Design variant not found`).
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
409A review of this variant is already running (`A review is already running for this variant.`). Nothing was charged.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
500The review failed. The credits were refunded; try again.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
curl '{{API_BASE_URL}}/v1/galaxy/translate-photo/adapt/variants/7c1e4a9b-2d3f-4e5a-8b6c-9d0e1f2a3b4c/review' \
--request POST \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"modelConfig": {
"reasoningModel": "gemini-3-flash-preview",
"imageModel": "gemini-3-pro-image"
}
}'{
"data": {
"promptTokens": 5120,
"completionTokens": 830,
"thoughtsTokens": 410,
"totalTokens": 6360,
"tokensByModel": {},
"id": "7c1e4a9b-2d3f-4e5a-8b6c-9d0e1f2a3b4c",
"status": "PLAN_PENDING",
"variantCategory": "Instagram Story",
"language": "english_united_states",
"targetConfig": {
"width": 1080,
"height": 1920,
"platform": "instagram",
"modelConfig": {}
},
"layoutPlan": {
"plan": {},
"warnings": {},
"generatedAt": "2026-10-04T09:30:00.000Z"
},
"generationConfig": {
"generateBackgroundFirst": false,
"steps": {}
},
"generatedImageUrl": "{{CDN_BASE_URL}}/1d2e3f4a-5b6c-4d7e-8f9a-0b1c2d3e4f5a/adapt/3f2b8c1d-6e4a-4b7f-9c2d-1a5e8f3b7c90/variants/7c1e4a9b-2d3f-4e5a-8b6c-9d0e1f2a3b4c/final-1759572000000.jpg",
"previewImageUrl": null,
"thumbnailUrl": null,
"fk_assetId": null,
"variantKnowledge": null,
"reviewData": {
"textReview": {},
"visualReview": {},
"hallucinated_ids": {},
"textUsage": {
"totalTokens": 2100
},
"visualUsage": {
"totalTokens": 2400
},
"usage": {
"totalTokens": 4500
},
"model": "gemini-3-flash-preview"
},
"errorLog": null,
"fk_activeVersionId": "b4d2f8e1-9a3c-4b5d-8e7f-1a2b3c4d5e6f",
"fk_designAssetId": "3f2b8c1d-6e4a-4b7f-9c2d-1a5e8f3b7c90",
"fk_ownerId": "8f7e6d5c-4b3a-4291-8f0e-1d2c3b4a5f6e",
"fk_orgId": "1d2e3f4a-5b6c-4d7e-8f9a-0b1c2d3e4f5a",
"createdAt": "2026-10-04T09:30:00.000Z",
"updatedAt": "2026-10-04T09:30:00.000Z",
"deletedAt": null
}
}Fix review issues
Edit a variant
Recrop a variant
List variant versions
Get a variant version
Activate a variant version
Export a variant
Export several variants
Save a variant to assets
Get a mask upload URL
DITA maps
Translate a ZIP of DITA content (.ditamap, .dita, .xml and .svg files) with a translation memory, keeping its folders and markup. Upload the ZIP once for any number of target languages, poll each language's files, then build a translated ZIP per language.
- POST/v1/galaxy/translate-photo/dita-map/upload/presign
- POST/v1/galaxy/translate-photo/dita-map/initialize
- GET/v1/galaxy/translate-photo/dita-map/zip-logs
- GET/v1/galaxy/translate-photo/dita-map/{id}/files
- POST/v1/galaxy/translate-photo/dita-map/{id}/generate-translation-zip
- GET/v1/galaxy/translate-photo/dita-map/file/{id}/download
- POST/v1/galaxy/translate-photo/dita-map/{id}/retry
- POST/v1/galaxy/translate-photo/dita-map/file/{id}/retry