Tạo ảnh
Tạo ảnh
Tạo ảnh từ text prompt. Tương thích với [OpenAI Images API](https://platform.openai.com/docs/api-reference/images/create).
Authentication
AuthorizationBearer
API key làm bearer token. Tạo API key tại [Console](https://console.staging.tram.ai.vn/keys).
Request
This endpoint expects an object.
model
Model ID
prompt
Text mô tả ảnh
n
Số ảnh tạo ra
size
Kích thước ảnh
quality
Chất lượng ảnh
Response
Thành công
created
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
