【api-doc】Photo to Anime Style

Convert real photos into anime-style AI images

API call cost

Each API call consumes 2 credits.

Request

  • Method: POST
  • URL:https://yimeta.ai/api/v1/auto-coloring-generator

Request Header

Parameter Type Description
authorization string

Request Body

Parameter Type Required Description
img_url string Required URL or file of the original image1
model string No (defalut: meinamix_meinaV10.safetensors) The Stable Diffusion model used to generate the fusion image
lora list No (defalut: null) Lora model
prompt string No (defalut: 'masterpiece, best quality') Positive prompt describing the resulted image.
negative_prompt string No (defalut: '(worst quality, low quality:1.4)') Negative prompt
strength float No (defalut: 0.7) The influence weight of the LoRA on the base model.
steps int No (defalut: 25)
cfg float No (defalut: 7)
{
    "img_url": "https://temp.aifaceswap.io/aifaceswap/static_img/8a1bce5ea303791589165a5f607e7399.webp",
    "model": "meinamix_meinaV10.safetensors", // optional
    "lora": [], //optinal
    "prompt": "", //optional
    "negative_prompt": "", //optional
    "strength": 0.7, // optional
    "steps": 25, // optional
    "cfg": 7 // optinal
}

Respones

Response Body

Parameter Type Description
status string API task status
task_id string The unique ID of the task.
result list result image

Example

####successed
{
  "stauts": "successed",
  "task_id": "f12400e2-5546-4286-92e9-2263d2f5c3fd",
  "result": ["https://art-global.yimeta.ai/workflow/aa4a777e2644f16372fd0cf4b5baffcb.webp"]
}

####over time
{
  "status": "executing",
  "task_id": "f12400e2-5546-4286-92e9-2263d2f5c3fd"
}

####failed
{
  "status": "failed",
  "error": "error message"
}

© Yimeta 2025, All rights reserved.