---
title: "Img To Text"
method: POST
path: "/api/imgtotext/v1/convert"
---

# Img To Text

`POST /api/imgtotext/v1/convert`

## Request

- Base URL: `https://api.videofaceswap.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.videofaceswap.io/api/imgtotext/v1/convert`
- Auth: HTTP bearer

## Query parameters

- `app_id` string, required

## Request body

- ImgToTextItem
  - `image_url` string, required: 图片url
  - `language` string: 语言
  - `word_limit` integer: 输出文本字数
  - `gpt_model` string: 模型类型

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-08** `1b3dd1817626`: 1 info
  - the `gpt_model` request property default value changed from `gpt-4o` to `x-ai/grok-4.7`

[Operation history](https://skmtc.dev/videofaceswap/apis/videofaceswap-api/changes/api/imgtotext/v1/convert/post.md)

---

[API](https://skmtc.dev/videofaceswap/apis/videofaceswap-api.md) - [All operations](https://skmtc.dev/videofaceswap/apis/videofaceswap-api/llms.txt) - [OpenAPI document](https://skmtc.dev/videofaceswap/apis/videofaceswap-api/revisions/1b3dd1817626?raw)
