Developer API
Video API
Queue AI video jobs, track generation status, repurpose long videos into clips, and run studio tools for images, audio, lipsync, edits, and ads.
#Create jobs
Start long-running video generation and repurpose jobs. Create requests should include Idempotency-Key.
curl -X POST https://grik.io/api/v1/generate/video \
-H "Authorization: Bearer GRIK_API_KEY" \
-H "Idempotency-Key: video_job_123" \
-H "Content-Type: application/json" \
-d '{
"model": "kling",
"prompt": "A cinematic product reveal on a black reflective table",
"aspect_ratio": "16:9",
"duration": "5s",
"mode": "standard",
"sound": "on"
}'/generate/videoStart text-to-video or image-to-video generation with model, aspect ratio, duration, mode, image URL, and sound options.
/repurposeStart a repurposing pipeline from a YouTube or file URL with optional language.
#Check status
Poll generation and repurpose records until the job reaches a terminal status.
/generation/:idFetch a generation record, status, output video URL, metadata, file size, and any error message.
/repurpose/:idFetch a repurposing task with rendered clips, transcripts, segments, viral scores, and output URLs.
#Image tools
Generate, edit, enhance, faceswap, and create character or 3D-angle assets for video workflows.
/images/generateGenerate images from a prompt, reference image, palette, model, and resolution.
/images/editEdit an image with a prompt and source image URL.
/images/enhanceEnhance or upscale an image asset.
/images/faceswapSwap a face between target and source images.
/images/3d-anglesGenerate a 3D/360-style video from an image.
/images/character-genGenerate a consistent character from a prompt and optional reference image.
#Studio tools
Run speech, audio enhancement, lipsync, recast, transition, edit, and ad generation operations.
/repurpose/ttsGenerate speech audio from text and a voice selection.
/repurpose/enhance-audioQueue audio enhancement for a source video.
/repurpose/lipsyncSynchronize a video with a supplied audio track.
/repurpose/recastReplace or recast a character in a source video with a target image.
/video/transitionsCreate transitions across two or more input video URLs.
/video/editEdit an existing video with a natural-language prompt.
/ads/generateGenerate an ad creative from a product URL.