이미지 생성
POST
/v1/images/generations
- Grok 모델을 사용하여 텍스트 설명으로부터 이미지 생성
- 공식 문서: Image Generations
Authorizations
bearer
Type
HTTP (bearer)
Request Body
application/json
prompt
string
Required
원하는 이미지의 텍스트 설명. 최대 길이는 1000자입니다.
size
string
생성된 이미지 크기: 960x960, 720x1280, 1280x720, 1168x784, 784x1168
model
string
Required
이미지 생성에 사용되는 모델.
Responses
성공
application/json
object
created
integer
data
object[]
usage
object