Celeste AICeleste AI
Domains

Video

Operations on the video domain.

Video Domain

The video domain covers video generation and analysis. Analysis returns text output because the modality is text.

Operations

OperationOutput ModalityNamespace call
generateVideosawait celeste.videos.generate(...)
analyzeTextawait celeste.videos.analyze(...)

Examples

import celeste
from celeste.artifacts import VideoArtifact

# Generate → video output
video = await celeste.videos.generate(
    model="veo-3.0-generate-001",
    prompt="Waves crashing on a rocky shore",
)

# Analyze → text output
clip = VideoArtifact(path="clip.mp4")
description = await celeste.videos.analyze(
    model="gpt-4o",
    prompt="Describe what happens in this video",
    video=clip,
)
print(description.content)