Skip to main content
Back to API Platform

Character Stylist API

One-shot FLUX Kontext variants — filters, cartoonify, iconic locations, haircut swap, headshots, renaissance, face-to-many, and more. Integrate this model via REST with endpoint docs, parameters, and code examples.

Image Generation
Img2Img
Credit Cost
1 credit
Type
Image

API Endpoint

POST
/api/v1/models/image-editor/run

Test This Model

Run a real request through the API pipeline and inspect the exact input and output your integration will handle. Uses your credits like any API call; failed runs are refunded automatically.

Parameters

Input parameters accepted by this model

ParameterTypeDefault
model
required
enum
-
input_image
required
url
-
aspect_ratio
enum
match_input_image
seed
integer
-
image_filter
string
-
blur_effect
string
-
gender
string
-
iconic_location
string
-
impossible_scenario
string
-
haircut
string
-
hair_color
string
-
background
string
-
style
string
-
persona
string
-
preserve_background
boolean
-
preserve_outfit
boolean
-
renaissance_style
string
-
output_format
string
-
safety_tolerance
integer
-

Example Outputs

Real outputs generated by this model

View Details

1 credit
9.3s
View Details

1 credit
8.6s

Code Examples

Cartoonify — copy and paste to get started

bash
curl -X POST "https://pixeldojo.ai/api/v1/models/image-editor/run" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "cartoonify",
    "input_image": "https://..."
  }'

Response Format

Submit Response (202 Accepted)

json
{
  "jobId": "job_abc123...",
  "status": "pending",
  "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
  "creditCost": 1,
  "creditsRemaining": 95,
  "expiresAt": "2026-07-18T05:19:14Z"
}

Completed Response

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "images": [
      "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.png"
    ]
  },
  "creditCost": 1,
  "expiresAt": "2026-07-18T05:19:14Z"
}