이미지를 비디오로 변환
inference.sh CLI를 통해 정적 이미지를 애니메이션 비디오로 변환합니다.
빠른 시작
curl -fsSL https://cli.inference.sh | sh && infsh login
# 정적 이미지 생성
infsh app run falai/flux-dev-lora --input '{
"prompt": "serene mountain lake at sunset, snow-capped peaks reflected in still water, golden hour light, landscape photography",
"width": 1248,
"height": 832
}'
# 애니메이션 적용
infsh app run falai/wan-2-5-i2v --input '{
"prompt": "gentle ripples on the lake surface, clouds slowly drifting, warm light shifting, birds flying in the distance",
"image": "path/to/lake-image.png"
}'
설치 참고: 설치 스크립트는 사용자의 OS/아키텍처를 감지하고,
dist.inference.sh에서 일치하는 바이너리를 다운로드한 후 SHA-256 체크섬을 검증합니다. 상승된 권한이나 백그라운드 프로세스는 필요하지 않습니다. 수동 설치 및 검증도 가능합니다.
모델 선택
| 모델 | 앱 ID | 최적 용도 | 동작 스타일 |
|---|---|---|---|
| Wan 2.5 i2v | falai/wan-2-5-i2v | 사실적인 움직임, 자연스러운 동작 | 포토리얼리스틱, 미묘함 |
| Seedance 1.5 Pro | bytedance/seedance-1-5-pro | 스타일화, 창의적, 애니메이션 스타일 | 예술적, 표현력 |
| Seedance 1.0 Pro | bytedance/seedance-1-0-pro | 일반 목적, 좋은 품질 | 균형 잡힘 |
| Fabric 1.0 | falai/fabric-1-0 | 천, 직물, 액체, 흐르는 재질 | 물리 기반 흐름 |
| Grok Imagine Video | xai/grok-imagine-video | 일반 애니메이션, 텍스트 가이드 | 다용도 |
각 모델을 언제 사용할까
| 시나리오 | 최적 모델 | 이유 |
|---|---|---|
| 물/구름이 있는 풍경 | Wan 2.5 i2v | 자연스럽고 사실적인 움직임에 최고 |
| 미묘한 표정의 인물 | Wan 2.5 i2v | 얼굴 충실도 유지 |
| 천/직물이 있는 제품 | Fabric 1.0 | 재질 물리학에 특화 |
| 펄럭이는 깃발, 흐르는 커튼 | Fabric 1.0 | 천 시뮬레이션 |
| 일러스트/예술적 이미지 | Seedance | 스타일화된 콘텐츠에 적합 |
| 일반 "생동감 부여" | Seedance 1.5 Pro | 좋은 올라운더 |
| 빠른 테스트/반복 | Seedance 1.0 Lite | 가장 빠름, 720p |
동작 유형
카메라 움직임
| 움직임 | 프롬프트 키워드 | 효과 |
|---|---|---|
| 밀어넣기 / 돌리 포워드 | "slow dolly forward", "camera pushes in" | 친밀감/초점 증가 |
| 당기기 / 돌리 백 | "camera pulls back", "slow zoom out" | 공개, 맥락 |
| 팬 좌/우 | "camera pans slowly to the right" | 스캐닝, 추적 |
| 틸트 상/하 | "camera tilts upward" | 높이 공개 |
| 오빗 | "camera orbits around the subject" | 3D 탐색 |
| 크레인 업 | "camera rises upward" | 장대한 공개 |
| 정적 | (카메라 움직임 프롬프트 없음) | 피사체 동작만 |
피사체 동작
| 유형 | 프롬프트 예시 |
|---|---|
| 자연 요소 | "water rippling", "clouds drifting", "leaves rustling in breeze" |
| 헤어/의류 | "hair blowing gently in wind", "dress fabric flowing" |
| 대기 효과 | "fog slowly rolling", "dust particles floating in light beams" |
| 캐릭터 | "person slowly turns to camera", "subtle breathing motion" |
| 기계적 | "gears turning", "clock hands moving" |
| 액체 | "coffee steam rising", "paint dripping", "water pouring" |
프롬프팅 모범 사례
황금률: 과장보다 미묘함
AI 비디오 모델은 극적인 액션보다 부드럽고 미묘한 움직임에서 더 나은 결과를 생성합니다. 너무 많은 움직임을 요청하면 왜곡과 아티팩트가 발생합니다.
❌ "사람이 장애물을 넘어 달리고 점프하며 카메라는 회전한다"
✅ "사람이 천천히 앞으로 걷고, 산들바람이 불며, 카메라가 옆에서 따라간다"
❌ "파편이 사방으로 날리는 폭발"
✅ "양초 불꽃이 부드럽게 깜빡이고, 따뜻한 주변광이 변화한다"
❌ "극적인 카메라 흔들림과 함께 눈에 빠르게 줌인"
✅ "피사체를 향해 천천히 돌리 포워드, 미묘한 초점 변화"
프롬프트 구조
[카메라 움직임] + [피사체 동작] + [대기 효과] + [분위기/속도]
시나리오별 예시
# 풍경 애니메이션
infsh app run falai/wan-2-5-i2v --input '{
"prompt": "gentle camera pan right, water reflecting moving clouds, trees swaying slightly in breeze, warm golden light, peaceful and slow",
"image": "landscape.png"
}'
# 인물 애니메이션
infsh app run falai/wan-2-5-i2v --input '{
"prompt": "subtle breathing motion, slight head turn, natural eye blink, hair moving gently, soft ambient lighting shifts",
"image": "portrait.png"
}'
# 제품 샷 애니메이션
infsh app run bytedance/seedance-1-5-pro --input '{
"prompt": "slow 360 degree orbit around the product, gentle spotlight movement, subtle reflections shifting, premium product showcase, smooth motion",
"image": "product.png"
}'
# 천/직물 애니메이션
infsh app run falai/fabric-1-0 --input '{
"prompt": "fabric flowing and rippling in gentle wind, natural cloth physics, soft movement",
"image": "fabric-scene.png"
}'
# 건축 시각화
infsh app run falai/wan-2-5-i2v --input '{
"prompt": "slow dolly forward through the entrance, slight camera tilt upward, ambient light filtering through windows, dust particles in light beams",
"image": "building-interior.png"
}'
지속 시간 가이드라인
| 지속 시간 | 품질 | 사용처 |
|---|---|---|
| 2-3초 | 최고 품질 | GIF, 반복 배경, 시네마그래프 |
| 4-5초 | 고품질 | 소셜 미디어 게시물, 제품 공개 |
| 6-8초 | 좋은 품질 | 짧은 클립, 전환 |
| 10초 이상 | 품질 저하 | 피하거나 짧은 클립을 이어 붙이기 |
지속 시간 연장
더 긴 비디오를 위해 여러 짧은 클립을 생성하고 이어 붙입니다:
# 동일한 이미지에서 점진적인 움직임으로 3개의 클립 생성
infsh app run falai/wan-2-5-i2v --input '{
"prompt": "slow pan left, gentle water motion",
"image": "scene.png"
}' --no-wait
infsh app run falai/wan-2-5-i2v --input '{
"prompt": "continuing pan, clouds shifting, light changing",
"image": "scene.png"
}' --no-wait
# 이어 붙이기
infsh app run infsh/media-merger --input '{
"media": ["clip1.mp4", "clip2.mp4"]
}'
전체 워크플로우
스틸에서 최종 비디오까지 파이프라인
# 1. 소스 이미지 생성 (최고 품질)
infsh app run bytedance/seedream-4-5 --input '{
"prompt": "cinematic landscape, misty mountains at dawn, lake in foreground, dramatic clouds, golden hour, 4K quality, professional photography",
"size": "2K"
}'
# 2. 이미지 애니메이션 적용
infsh app run falai/wan-2-5-i2v --input '{
"prompt": "gentle mist rolling through the valley, lake surface rippling, clouds slowly moving, birds in distance, warm light shifting",
"image": "landscape.png"
}'
# 3. 필요시 비디오 업스케일
infsh app run falai/topaz-video-upscaler --input '{
"video": "animated-landscape.mp4"
}'
# 4. 주변 오디오 추가
infsh app run infsh/hunyuanvideo-foley --input '{
"video": "animated-landscape.mp4",
"prompt": "gentle nature ambience, distant birds, soft wind, water lapping"
}'
# 5. 비디오와 오디오 병합
infsh app run infsh/video-audio-merger --input '{
"video": "upscaled-landscape.mp4",
"audio": "ambient-audio.mp3"
}'
시네마그래프 효과
시네마그래프는 하나의 요소만 움직이는 정지 사진입니다(예: 나머지 장면은 멈춰있고 폭포만 흐름). 이를 달성하려면:
- 움직일 요소를 명확히 정의한 정지 이미지를 생성합니다.
- 해당 특정 요소에만 움직임을 프롬프팅합니다.
- 매끄러운 루핑을 위해 2-4초로 유지합니다.
infsh app run falai/wan-2-5-i2v --input '{
"prompt": "only the waterfall is moving, everything else remains perfectly still, water cascading smoothly, rest of scene frozen",
"image": "waterfall-scene.png"
}'
일반적인 실수
| 실수 | 문제 | 해결책 |
|---|---|---|
| 너무 많은 움직임 요청 | 왜곡, 아티팩트, 워핑 | 과장보다 미묘함, 항상 |
| 콘텐츠 유형에 맞지 않는 모델 | 나쁜 결과 | 위의 선택 가이드 사용 |
| 클립이 너무 김 (10초 이상) | 품질이 크게 저하됨 | 3-5초로 유지, 필요시 이어 붙이기 |
| 카메라 움직임 미지정 | 무작위/예측 불가능한 움직임 | 항상 카메라 동작 지정 |
| 상충되는 움직임 방향 | 혼란스럽고 부자연스러움 | 하나의 주요 움직임 방향 |
| 저해상도 소스 이미지 | 저해상도 비디오 출력 | 최고 품질의 소스로 시작 |
| 복잡한 액션 장면 | 모델이 처리할 수 없음 | 움직임을 단순하고 자연스럽게 유지 |
관련 스킬
npx skills add inference-sh/skills@ai-video-generation
npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@video-prompting-guide
npx skills add inference-sh/skills@prompt-engineering
모든 앱 보기: infsh app list