---
title: "Convert image to product avatar"
method: POST
path: "/v2/product_avatar/add_motion"
tags: ["Avatar"]
---

# Convert image to product avatar

`POST /v2/product_avatar/add_motion`

## Request

- Base URL: `https://api.jogg.ai`
- URL: `https://api.jogg.ai/v2/product_avatar/add_motion`
- Auth: API key in header `x-api-key`

Create a product avatar from generated image with motion and voice

## Request body

- object
  - `generation_id` string, required: Generation ID from product avatar image generation
  - `model` integer: Model selection (0-2)
  - `name` string, required: Product avatar name
  - `voice_id` string, required: Voice ID to associate
  - `description` string, required: Motion description
  - `aspect_ratio` 'portrait' | 'landscape' | 'square': Aspect ratio

## Response `200`

Success

- object
  - `code` integer, required: Business status code: * 0 - Success * 10104 - Record not found * 10105 - Invalid API key * 18020 - Insufficient credit * 18025 - No permission to call APIs * 40000 - Parameter error * 50000 - System error
  - `msg` string, required: Response message
  - `data` object
    - `avatar_id` integer: Created avatar ID
    - `motion_id` string: Motion ID
    - `name` string: Avatar name

## Changes

- **2026-11-03** `22021dd81934`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/jogg/apis/joggai-openapi-v2/changes/v2/product_avatar/add_motion/post.md)

---

[API](https://skmtc.dev/jogg/apis/joggai-openapi-v2.md) - [All operations](https://skmtc.dev/jogg/apis/joggai-openapi-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/jogg/apis/joggai-openapi-v2/revisions/22021dd81934?raw)
