Skip to main content
Tencent ARCMediumHigh

PhotoMaker Style

The stylization-focused variant of PhotoMaker: turn 1-4 photos of a person into paintings, comics, 3D art, and more with stronger style transfer. Pairs with the base PhotoMaker โ€” use this one when style matters more than photorealism.

15 credits
14 credits x num_outputs (1-4 images)
Stronger style transfer than the base PhotoMaker
Identity-preserving generation from 1-4 reference photos
10 style presets: Cinematic, Disney Character, Digital Art, Comic book, and more
style_strength_ratio (15-50) to dial the stylization up or down
Up to 4 outputs per run (billed per image)

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "tencentarc/photomaker-style",
  "input": {
    "input_image": "https://example.com/face.jpg",
    "prompt": "A girl img riding dragon over a whimsical castle, 3d CGI, art by Pixar, half-body, screenshot from animation",
    "num_steps": 50,
    "style_name": "(No style)",
    "num_outputs": 2,
    "style_strength_ratio": 35,
    "negative_prompt": "realistic, photo-realistic, worst quality, greyscale, bad anatomy"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringNoA photo of a person imgScene description. Must include the trigger word 'img' after the class noun (e.g. 'a photo of a man img')
input_imagestringYes-Reference photo of the person (input_image2-4 for more)
input_image2stringNo-Additional input image (optional)
input_image3stringNo-Additional input image (optional)
input_image4stringNo-Additional input image (optional)
style_namestringNo(No style)Style template that adds a style-specific prompt and negative prompt on top of yours
(No style)CinematicDisney CharactorDigital ArtPhotographic (Default)Fantasy artNeonpunkEnhanceComic bookLowpolyLine art
negative_promptstringNonsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurryThings to avoid. Must NOT contain the trigger word
num_stepsintegerNo20Number of sample steps (1-100)
style_strength_rationumberNo20Style strength % (15-50). Higher applies the style harder
num_outputsintegerNo1Number of output images (1-4). Billed per image
guidance_scalenumberNo5Guidance scale (1-10)
seedintegerNo-Random seed. Leave blank for random
disable_safety_checkerbooleanNofalseDisable safety checker for generated images.

How to Provide File Input

There are 3 ways to provide files for the input_image parameter:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=tencentarc/photomaker-style" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:input_image=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "tencentarc/photomaker-style",
  "input": {
    "prompt": "your prompt here",
    "input_image": "https://example.com/image.jpg"
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Pixar-Style Fantasy Scene

A person riding a dragon in 3D animation style, two variations

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "tencentarc/photomaker-style",
  "input": {
    "input_image": "https://example.com/face.jpg",
    "prompt": "A girl img riding dragon over a whimsical castle, 3d CGI, art by Pixar, half-body, screenshot from animation",
    "num_steps": 50,
    "style_name": "(No style)",
    "num_outputs": 2,
    "style_strength_ratio": 35,
    "negative_prompt": "realistic, photo-realistic, worst quality, greyscale, bad anatomy"
  }
}'

Tips & Best Practices

1The prompt MUST contain the trigger word 'img' right after the person noun โ€” 'a man img'
2This variant leans stylized โ€” for realistic photo output, use the base tencentarc/photomaker instead
3Raise style_strength_ratio toward 35-50 for bolder stylization; 20 keeps more of the original look
4Add 'realistic, photo-realistic' to the negative_prompt to push results further into art styles
52-4 reference photos of the same person noticeably improve identity fidelity
6Only use photos of real people with their consent

Use Cases

Painted and illustrated avatar packs
Comic book or animation-style character art of real people
Fantasy and game-style persona portraits
Stylized gifts โ€” turning family photos into artwork
Creator branding art in a signature style