---
title: "Image to Prompt"
method: POST
path: "/api/media/v1/image/image2prompt"
tags: ["Image"]
---

# Image to Prompt

`POST /api/media/v1/image/image2prompt`

## Request

- Base URL: `https://faktry.ai`
- URL: `https://faktry.ai/api/media/v1/image/image2prompt`
- Auth: HTTP bearer

Reverse-engineer the text-to-image prompt that could have generated an uploaded image

**Model Costs (credits):**
- `gpt-5.6-terra`: 5 credits
- `claude-sonnet-5`: 5 credits

## Response `202`

Job queued for async processing

- JobResponse
  - `job_id` string, required: Unique job identifier
  - `status` 'pending', required: Job status
  - `poll_url` string, required: URL to poll job status

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `413`: File too large
- `429`: Rate limit exceeded or insufficient credits
- `500`: Internal server error

---

[API](https://skmtc.dev/faktry/apis/faktry-media-api.md) · [All operations](https://skmtc.dev/faktry/apis/faktry-media-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faktry/apis/faktry-media-api/revisions/b6f8e4467f3c?raw)
