Skip to content

Telestyle V2 Style Transfer

Integrate

Model id telestyle-v2
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/telestyle-v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "content_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "style_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: ≈$0.071 71 API credits Run it on this page

Get API key
Open model Image Editing #stylized#transform#editing

Style transfer that re-renders a content image using the look of a second style reference image

Open model · Image

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required
Drop a file, or

URL pointing to the image that supplies the subject and structure for style transfer. Both are retained as the image receives the style.

•required
Drop a file, or

URL of an image used to restyle the content image. The reference supplies the material and artistic style as well as color and lighting.

image_size

Output image dimensions, overriding the content image's dimensions only when supplied.

num_images default 1

Image count requested for generation.

Advanced negative_prompt · acceleration · output_format · lora_scale · lightning_lora_scale · num_inference_steps · guidance_scale · seed · use_lightning_lora · use_content_description · use_style_description · enable_safety_checker
default

Negative prompt used during generation.

acceleration default none

Image-generation acceleration mode: 'regular' uses the downstream accelerated path with 10 steps fixed independently of num_inference_steps. The default mode, 'none', instead follows num_inference_steps; the default Lightning setup therefore uses its configured 4 steps.

output_format default png

File format for the resulting image.

default 1

TeleStyleV2 adapter strength, which can be reduced below the reference implementation's value of 1.0 for a subtler style effect.

default 1

Lightning LoRA strength, which can be reduced below the reference implementation's value of 1.0 for a subtler style effect.

default 4

Count of inference steps to run.

default 1

Set how closely generation follows your prompt using CFG, short for Classifier Free Guidance.

Seed for repeatable image results. To reproduce an image every time, keep the seed, all inputs and the model version unchanged.

POST /run/telestyle-v2?wait=20 quote → $0.071
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/telestyle-v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "content_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "style_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Telestyle V2 Style Transfer

Takes a `content_image_url` whose subject and layout are kept and a `style_image_url` whose style, materials, lighting and color are applied to it. `lora_scale` (0 to 4) controls style strength, and optional Lightning LoRA is on by default with a 4-step default. Output size can be set with `image_size` presets, and 1 to 4 images can be produced per call as jpeg or png.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
content_image_urlrequired
Typeurl · image
URL pointing to the image that supplies the subject and structure for style transfer. Both are retained as the image receives the style.
style_image_urlrequired
Typeurl · image
URL of an image used to restyle the content image. The reference supplies the material and artistic style as well as color and lighting.
lora_scaleoptional
Typenumber
Default1
0 – 4
TeleStyleV2 adapter strength, which can be reduced below the reference implementation's value of 1.0 for a subtler style effect.
use_lightning_loraoptional
Typeboolean
Defaulttrue
Controls whether Lightning LoRA is used alongside the default LoRA when true.
lightning_lora_scaleoptional
Typenumber
Default1
0 – 4
Lightning LoRA strength, which can be reduced below the reference implementation's value of 1.0 for a subtler style effect.
use_content_descriptionoptional
Typeboolean
Defaulttrue
Enrich the prompt with a description of the content image when true; a VLM writes the description.
use_style_descriptionoptional
Typeboolean
Defaulttrue
Enrich the prompt with a description of the style image when true; a VLM writes the description.
image_sizeoptional
Typeobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Output image dimensions, overriding the content image's dimensions only when supplied.
negative_promptoptional
Typestring
Default
Negative prompt used during generation.
num_inference_stepsoptional
Typeinteger
Default4
2 – 50
Count of inference steps to run.
guidance_scaleoptional
Typenumber
Default1
0 – 20
Set how closely generation follows your prompt using CFG, short for Classifier Free Guidance.
accelerationoptional
Typeenum
Defaultnone
noneregular
Image-generation acceleration mode: 'regular' uses the downstream accelerated path with 10 steps fixed independently of num_inference_steps. The default mode, 'none', instead follows num_inference_steps; the default Lightning setup therefore uses its configured 4 steps.
num_imagesoptional num_outputs
Typeinteger
Default1
1 – 4
Image count requested for generation.
seedoptional
Typeinteger | null
Seed for repeatable image results. To reproduce an image every time, keep the seed, all inputs and the model version unchanged.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Safety checker activation; true enables checking.
output_formatoptional
Typeenum
Defaultpng
jpegpng
File format for the resulting image.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "telestyle-v2",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 71,
    "usd": "0.071",
    "charged": 71,
    "refunded": 0
  },
  "input": {
    "content_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "style_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ],
    "has_nsfw_concepts": [
      false
    ],
    "prompt": "",
    "seed": 42
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
images
array of object {url, content_type, file_name, file_size, width, height}Image or images with the style applied.
has_nsfw_concepts
array of booleanIndicates whether NSFW concepts appear in the generated image.
prompt
stringPrompt created from both the content image and the style image.
seed
integerSeed value applied during generation.

For AI agents: this page as Markdown is at https://doitong.com/en-US/developers/models/telestyle-v2.md. All models and guides: https://doitong.com/developers/llms.txt