trustgraph/specs/api/components/schemas/image-to-text/ImageToTextResponse.yaml
Sunny Yang 40f01c123b
feat: pluggable image-to-text service with OpenAI vision backend (#1038)
Adds a full-stack image description service: schema, base class,                                                                  
OpenAI backend, gateway dispatch, client APIs (sync/async REST +
websocket), tg-describe-image CLI, IAM capability, and specs.                                                                     
                                                                                                                                    
Closes #879
2026-07-12 12:47:04 +01:00

21 lines
514 B
YAML

type: object
description: Image-to-text response
required:
- description
properties:
description:
type: string
description: Generated description of the image
example: A red square on a white background.
in_token:
type: integer
description: Number of input tokens consumed
example: 245
out_token:
type: integer
description: Number of output tokens generated
example: 32
model:
type: string
description: Model used to describe the image
example: gpt-5-mini