CCAPI
  1. Schemas
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
    • List providers
    • Get provider details
  • 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. Schemas

MultimodalImageGenerationRequest

{
    "contents": [
        {
            "text": "string",
            "image": {
                "url": "http://example.com",
                "data": "string",
                "mime_type": "image/png"
            },
            "mask": {
                "url": "http://example.com",
                "data": "string",
                "mime_type": "string"
            }
        }
    ],
    "model": "imaginepro/nano-banana",
    "parameters": {
        "num_images": 1,
        "width": 0,
        "height": 0,
        "aspect_ratio": "16:9",
        "quality": "standard",
        "seed": 0,
        "steps": 0,
        "guidance_scale": 0,
        "negative_prompt": "string",
        "strength": 0,
        "response_format": "url"
    },
    "webhook_url": "http://example.com"
}
Built with