Skip to main content
GET
/
openai
/
4o-image
/
fetch
cURL
curl --request GET \
  --url https://api.ttapi.io/openai/4o-image/fetch \
  --header 'TT-API-KEY: <api-key>'
{ "status": "SUCCESS", "message": "success", "jobId": "5ecc5080-b1d7-4b9f-8184-435e46ebb5cb", "data": { "prompt": "A professional full-body flat lay photo of a beautiful female model wearing this outfit. High resolution, photorealistic, perfect detail of all clothing elements, professional pose, attractive figure, trendy style, smiling, fair-skinned Caucasian woman.", "referImages": [ "https://cdn.ttapi.io/demo/2025-03-30/5d17dd5207daeeac86bcecd2d6405a0.jpg" ], "imageUrl": "https://cdnc.ttapi.io/2025-03-31/cd3f3ce5-06be-4b3a-9aed-014045ca1804.png", "quota": "2", "finishTime": "2025-03-31 04:25:33", "hookUrl": "https://webhook-test.com/b129b43b6619f977b3227387fc290f7d" } }

Documentation Index

Fetch the complete documentation index at: https://docs.ttapi.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

TT-API-KEY
string
header
required

You can obtain your API key from the TTAPI Dashboard.

Query Parameters

jobId
string
required

Job ID returned synchronously by the generation endpoint (supports URL parameters/request body)

Response

Request successful

status
enum<string>
required

Task status: ON_QUEUE-processing, SUCCESS-success, FAILED-failed

Available options:
SUCCESS,
ON_QUEUE,
FAILED
Example:

"SUCCESS"

message
string | null
required

Response message: returns success on success, returns specific error reason on failure, returns null during processing

Example:

"success"

jobId
string
required

Unique task identifier for querying task status or receiving callback notifications

Example:

"5ecc5080-b1d7-4b9f-8184-435e46ebb5cb"

data
SUCCESS · object
required

Task data (returned fields vary by status)

Last modified on April 26, 2026