---
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`

## Request

- Base URL: `https://api.brandbooster.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brandbooster.ai/api/v1/custom-avatar/image-to-avatar`
- Auth: HTTP bearer

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/brandbooster-api.md) - [All operations](https://skmtc.dev/brandbooster/apis/brandbooster-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brandbooster/apis/brandbooster-api/revisions/f84fc05f417b?raw)
