Model endpointsxAIGrok imagine video image to video
Generate video with xai/grok-imagine-video/image-to-video
Generates a video using the xai/grok-imagine-video/image-to-video model.
Authorization
BearerAuth AuthorizationBearer <token>
API key is required to authorize requests. Create a key in the Atlas Cloud dashboard.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/model/generateVideo" \ -H "Content-Type: application/json" \ -d '{ "model": "xai/grok-imagine-video/image-to-video", "prompt": "string", "image_url": "string" }'{ "id": "string", "urls": {}, "model": "string", "status": "string", "outputs": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "has_nsfw_contents": [ true ]}Last updated on