인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

genai-vision

genai-vision

Integrating Stable Diffusion for vision generation and Whisper for audio/multimodal tasks.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: genai-vision description: Integrating Stable Diffusion for vision generation and Whisper for audio/multimodal tasks.

GenAI Vision & Multimodal

Integration Strategy

  • Stable Diffusion: Use Diffusers library for image generation. Optimize with xformers.
  • Whisper: Process audio locally or via API for high-accuracy transcription to complement visual tasks.

Multimodal Workflow

%%{init: {"theme": "default", "flowchart": {"useMaxWidth": true}}}%%
graph TD
    A[User Audio] --> B(Whisper)
    B -->|Text Prompt| C[Stable Diffusion]
    C --> D[Generated Image]

Stable Diffusion Snippet

import torch
from diffusers import StableDiffusionPipeline

def generate_image(prompt: str, output_path: str):
    pipe = StableDiffusionPipeline.from_pretrained(
        "runwayml/stable-diffusion-v1-5", 
        torch_dtype=torch.float16
    ).to("cuda")
    pipe.enable_xformers_memory_efficient_attention()
    
    image = pipe(prompt, num_inference_steps=30).images[0]
    image.save(output_path)
저장한 Skills