---
title: "Image To Avatar"
method: POST
path: "/api/v1/custom-avatar/image-to-avatar"
tags: ["customAvatar"]
---

# Image To Avatar

`POST /api/v1/custom-avatar/image-to-avatar`

Generate an avatar from an image

## Request body

- ImageToAvatarRequestDTO
  - `image_url` string, nullable
  - `prompt` string, nullable
  - `aspect_ratio` string, nullable
  - `age` string, nullable
  - `gender` string, nullable
  - `ethnicity` string, nullable
  - `name` string, nullable
  - `pose` string, nullable
  - `background` string, nullable
  - `style` string, nullable
  - `skin_color` string, nullable
  - `model` string, nullable
  - `location` LocationDTO
    - `id` string, nullable
    - `name` string, nullable
    - `vibe` string, nullable
    - `tags` string[], nullable
  - `camera_angle` CameraAngleDTO
    - `position` CameraPositionDTO
      - `id` string, nullable
      - `label` string, nullable
      - `description` string, nullable
    - `framing` CameraFramingDTO
      - `id` string, nullable
      - `label` string, nullable
      - `description` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/brandbooster/apis/fastapi.md) · [All operations](https://skmtc.dev/brandbooster/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brandbooster/fastapi/revisions/a9374f6fe96c/schema)
