이미지
Gemini Omni 1.1 Flash
Generate video from a text prompt with Gemini Omni 1.1 Flash. Four output resolutions up to 4K and durations from 4 to 10 seconds.
- video
- high-fidelity
$0.15$0.09-40%/ 요청
텍스트 프롬프트나 참조 이미지로 영상 클립을 만드는 구글 비디오 모델 제품군. 빠른 결과물에 최적화되어 있습니다.
No output yet
Run the model to see generated results.
import requests
result = requests.post(
'https://api.e2x.ai/v1/jobs/submit',
headers={
'Authorization': f'Bearer {API_KEY}',
'Content-Type': 'application/json'
},
json={
'model': 'google/omni-flash/text-to-video',
'input': {}
}
)import time
job_id = result.json()['jobId']
while True:
response = requests.get(
f'https://api.e2x.ai/v1/jobs/{'{job_id}'}',
headers={'Authorization': f'Bearer {'{API_KEY}'}'}
)
data = response.json()['data']
if data['status'] == 'completed':
print('Done!', data['outputs'][0]['url'])
break
elif data['status'] == 'failed':
raise Exception(f"Job failed: {'{'}data['error']['message']{'}'}")
time.sleep(2)재생 시간 및 해상도별 예상 생성 비용입니다. 실행한 만큼만 요금이 청구됩니다.
텍스트를 비디오로을(를) 위한 다른 AI 모델 살펴보기