TheFluxTrain

Cartoon conversion

Turn a photo into cartoon or character styles.

Turn a photo into a cartoon or themed character look. Useful for avatars, social content, or playful brand assets.

URL: POST https://api.thefluxtrain.com/api/v1/image-generate/cartoon-converter/convert

Authentication: x-api-key

Request body

FieldTypeRequiredDefaultDescription
imagestringYesInput image URL or data URI
actionstringYesStyle action (see below)
genderstringNomalemale or female (filters compatible actions)
aspect_ratiostringNomatch_input_imageOutput aspect ratio
output_formatstringNopngjpg or png
prompt_upsamplingbooleanNofalseEnable prompt upsampling
folder_idstringNoFolder UUID in your account
project_idstringNoOptional project ID
message_idstringNoYour own tracking ID

action values: cartoonify, plain, adventurer, knight, futuristic, schoolkid, superhero, spider-boy, spider-girl, super-boy, super-girl

Example

{
  "image": "https://example.com/photo.jpg",
  "action": "cartoonify",
  "gender": "female",
  "folder_id": "your-folder-uuid"
}

Response

FieldTypeDescription
idstringJob ID
urlstringCartoon image URL
statusstringGeneration status
media_typestringIMAGE
metaobjectMetadata
created_atstring | nullISO 8601 timestamp
message_idstring | nullYour tracking ID if sent

Example

{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "url": "https://storage.example/cartoon.png",
    "status": "SUCCESS",
    "media_type": "IMAGE",
    "meta": {},
    "created_at": "2026-05-30T12:00:00Z"
  },
  "error": null
}