Skip to main content
POST
Fine-Tune Image Translation

Refining a Single Region

If one piece of text isn’t quite right, whether the translation or the way it looks, you can adjust just that region without re-running the whole image. Send the run_id, the target_language_id of the translation you want to change, the region_id of the text region, and a prompt describing what you want. You can find region IDs in Get Image Translation Project.

Writing a Good Prompt

The prompt is a short, plain-language instruction that applies to the one region you selected. Be specific about what should change, whether that is the wording or how the text looks: its color, font, size, or shadow. A single sentence is usually enough. Examples:
  • Change the text color to white
  • Use a bolder, larger font
  • Add a soft drop shadow behind the text
  • Make the text color more vibrant
  • Shorten the translation so it fits the speech balloon
Because each prompt only affects one region, send a separate request for each region you want to adjust.

Applying the Result

The response contains a task_id and a user_message (the prompt as stored on the run). To see the change in your download:
  1. Poll /image-translation/{task_id} until the status is SUCCESS
  2. Call Export Image Translation. A fine-tune doesn’t update your download on its own, so this step is required for the change to appear
  3. Fetch the updated pages from /image-translation/result/{run_id}

Request Example

Authorizations

x-api-key
string
header
required

The x-api-key is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.

Body

application/json
run_id
integer
required

The image translation run that contains the region.

Example:

null

target_language_id
integer
required

Numeric language ID of the translation to edit.

Example:

null

region_id
integer
required

ID of the text region to re-render. Get it from GET /image-translation/project/{run_id}.

Example:

null

prompt
string
required

A short instruction describing how this region's translation should change. Be specific about what should change, either the wording or how the text looks, for example Change the text color to white or Add a soft drop shadow behind the text.

Minimum string length: 1
Example:

"Make the text bolder and change the color to a vibrant red"

Response

Successful Response

task_id
string
required

Poll GET /image-translation/{task_id} until SUCCESS, then export again.

user_message
FineTuneImageTranslationUserMessageOut · object
required
Last modified on November 11, 2026