CCAPI
  1. Images
CCAPI
  • Chat
    • Create chat completion
      POST
  • Audio
    • Convert text to speech
      POST
  • Images
    • Generate images (OpenAI-compatible)
      POST
    • Generate images (multimodal contents API)
      POST
    • Get job status
      GET
  • Catalog
    • List available models
      GET
    • List providers
      GET
    • Get provider details
      GET
  • Schemas
    • Schemas
      • ErrorObject
      • ErrorResponse
      • ChatMessage
      • ChatToolFunction
      • ChatTool
      • ChatCompletionRequest
      • ChatCompletionResponse
      • AudioSpeechRequest
      • AudioSpeechResponse
      • LegacyImageGenerationRequest
      • LegacyImageGenerationResponse
      • MultimodalInputContent
      • MultimodalImageParameters
      • MultimodalImageGenerationRequest
      • ImageDatum
      • MultimodalImageGenerationResponse
      • ModelSummary
      • ModelListResponse
      • ProviderSummary
      • ProviderListResponse
      • ProviderDetailResponse
    • Response
      • BadRequest
      • Unauthorized
      • BillingError
      • RateLimit
      • InternalError
  1. Images

Get job status

GET
/images/jobs/{id}

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://prod-cn.your-api-server.com/images/jobs/' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
Latest job status or final payload
Body

Example
{
    "id": "string",
    "created": 0,
    "model": "string",
    "status": "pending",
    "execution": {
        "mode": "sync",
        "operation": "text-to-image",
        "provider": "string"
    },
    "data": [
        {
            "url": "http://example.com",
            "b64_json": "string",
            "revised_prompt": "string",
            "seed": 0
        }
    ],
    "poll_url": "string",
    "estimated_time": 0,
    "error": {
        "message": "Missing or invalid Authorization header",
        "type": "invalid_request_error",
        "code": "unauthorized",
        "details": {}
    }
}
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🔴500Internal Server Error
Modified at 2025-11-12 07:09:16
Previous
Generate images (multimodal contents API)
Next
List available models
Built with