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.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
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"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | No | A photo of a person img | Scene description. Must include the trigger word 'img' after the class noun (e.g. 'a photo of a man img') |
input_image | string | Yes | - | Reference photo of the person (input_image2-4 for more) |
input_image2 | string | No | - | Additional input image (optional) |
input_image3 | string | No | - | Additional input image (optional) |
input_image4 | string | No | - | Additional input image (optional) |
style_name | string | No | (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_prompt | string | No | nsfw, 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, blurry | Things to avoid. Must NOT contain the trigger word |
num_steps | integer | No | 20 | Number of sample steps (1-100) |
style_strength_ratio | number | No | 20 | Style strength % (15-50). Higher applies the style harder |
num_outputs | integer | No | 1 | Number of output images (1-4). Billed per image |
guidance_scale | number | No | 5 | Guidance scale (1-10) |
seed | integer | No | - | Random seed. Leave blank for random |
disable_safety_checker | boolean | No | false | Disable safety checker for generated images. |
There are 3 ways to provide files for the input_image parameter:
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"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"
}
}Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
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"
}
}'POST /v1/predictions