Skip to main content
POST

Authorizations

string
필수
모든 엔드포인트는 Bearer Token 인증이 필요합니다.API Key 관리 페이지에 접속하여 API Key를 얻고, 요청 헤더에 다음을 추가하세요:

Body

string
필수
Model name, fixed value: "grok_imagine_image_2_0".
object
필수
Model parameter object.
string
필수
Caller-defined task ID, used for idempotent submission and result querying.
  • Length: 1-64 characters
  • Only letters, numbers, underscores, and hyphens are supported
  • Cannot be reused under the same API Key

查询结果

제출 성공 후, 작업 상태 가져오기를 호출하고, 동일한 out_task_id를 사용하여 조회합니다. 작업이 완료되면 이미지 결과는 data.output에 있습니다.

쿼리 결과

제출에 성공한 후 작업 상태 가져오기를 호출하고, 동일한 out_task_id를 사용해 쿼리합니다. 작업이 완료되면 이미지 결과는 data.output에 있습니다.