---
title: "Generate a Song from an Image"
method: POST
path: "/v1/image_to_song"
---

# Generate a Song from an Image

`POST /v1/image_to_song`

Generate a song from an image by analyzing it and creating music based on visual content. The process can optionally include custom lyrics, voice conversion, and various musical parameters.

## Response `200`

Successfully initiated image-to-song task

- object
  - `success` boolean
  - `message` string
  - `task_id` string
  - `conversion_id_1` string
  - `conversion_id_2` string
  - `eta` integer — Estimated processing time in seconds
  - `credit_estimate` number, float

## Other responses

- `422` — Validation Error / Unprocessable Content
- `500` — Internal Server Error

---

[API](https://skmtc.net/musicgpt/apis/musicgpt-api.md) · [All operations](https://skmtc.net/musicgpt/apis/musicgpt-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/musicgpt/musicgpt-api/revisions/6753dccf4c5d/schema)
