Generate image with different style

POST /differentMe/create
application/json

Body Required

  • init_image string Required

    Initial image to be processed.

  • style_id Required

    Style id to be applied.

    Values are animal_fest, old, doll, metal, 8bit, city, blazing_torch, clay, realism, simulife, clay_r, sketch, zombie, oil_stick, balloon, pipe_craft, crystal, metal_r, felt, jade, balloon_r, jade_r, old_r, pink_girl, doll_r, city_r, blazing_torch_r, realism_r, vivid, eastern, mythical, animal_fest_r, ps2, pixel_game, league, lineage, fantasy, gta, simulife_r, zombie_r, persona, happiness, manga, sweet, pixel_art, catwoman, loose, sakura, pocket, grains, graduation, sketch_r, oil_pastel, flora_tour, loong_year, figure, prospera, guardians, expedition, leisure, giftify, amiable, 3d_cartoon, sketch_ii, collage, sketch_ii_r, mini_doll, sketchresize, cartoon, fluffy, insta, local_graffiti, peking_opera, opera, torch, sport, or dunk.

Responses

  • 200 application/json

    Default Response

    Hide response attributes Show response attributes object
  • 400 application/json

    Invalid request error

    Hide response attributes Show response attributes object
  • 401 application/json

    Authorization error

    Hide response attributes Show response attributes object
  • 500 application/json

    Internal server error

    Hide response attributes Show response attributes object
POST /differentMe/create
curl \
 -X POST https://api.itsrose.rest/differentMe/create \
 -H "Content-Type: application/json" \
 -d '{"init_image":"https://scdn.lovita.io/rose_ayank_david.jpg","style_id":"animal_fest"}'
Request examples
{
  "init_image": "https://scdn.lovita.io/rose_ayank_david.jpg",
  "style_id": "animal_fest"
}
Response examples (200)
{
  "status": true,
  "message": "success",
  "result": {
    "task_id": "string",
    "status": "completed",
    "images": "string",
    "backend_processing_time": 42.0,
    "error_msg": "string"
  }
}
Response examples (400)
{
  "status": false,
  "message": "string",
  "result": {}
}
Response examples (401)
{
  "status": false,
  "message": "string",
  "result": {}
}
Response examples (500)
{
  "status": false,
  "message": "string",
  "result": {}
}