WideoxAINowe

Grok Video

Grok Imagine konwersja tekstu i obrazu na wideo

model: "grok-video"

Tryby

Jeden identyfikator modelu, każdy tryb poniżej. Pola, które wysyłasz, wybierają tryb, a cena zależy od trybu.

TrybWybrany przezTypowa cena
Tekst na wideoprompt
Przykładowe żądanie
{
  "model": "grok-video",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.300
Obraz na wideoimage_url
Przykładowe żądanie
{
  "model": "grok-video",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.300

Wejście

Wymagane

Prompt

Opcjonalne

Provide an image to animate, or leave empty for text-to-video. A public https URL, or an upload URL from POST /v1/uploads.

Opcjonalne
6

Duration (seconds)

Opcjonalne

Resolution

Opcjonalne

Aspect Ratio

Wynik

Przykładowe wyjście

Rzeczywisty wynik z tego modelu. Uruchom go, aby zobaczyć tutaj swoje wyniki.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "grok-video",
  "input": {
    "prompt": "Subterranean city carved into a hollow asteroid rotating for gravity, skyscrapers pointing inward toward a central fusion lamp, camera orbiting clockwise at mid-city altitude, the lamp'\''s pale blue light pulsing imperceptibly brighter as the orbit progresses, atmospheric haze thickening near the curved far wall, tiny transit shuttles arcing between towers, hard sci-fi aesthetic with physically plausible lighting and material detail."
  }
}'