Media Generation
Gee-Code integrates with FAL AI to generate images, video, audio, and 3D content directly from the terminal. With access to 600+ models, you can create almost any type of media.
Quick Image Generation
Section titled “Quick Image Generation”The fastest way to create an image:
GenerateImage(prompt="A futuristic city at sunset, cyberpunk style", output_path="city.png")This uses the default image model (nano-banana-pro) for fast generation.
FAL Generate — Full Model Access
Section titled “FAL Generate — Full Model Access”For more control, use FalGenerate with any of the 600+ FAL models:
Images
Section titled “Images”FalGenerate( model="fal-ai/flux-pro", prompt="A photorealistic portrait of a robot artist", output_path="robot-artist.png", width=1024, height=1024)Video generation runs in the background (it takes minutes):
FalGenerate( model="fal-ai/kling-video/v2.6/pro/text-to-video", prompt="A timelapse of flowers blooming in a garden", output_path="flowers.mp4", duration="5", aspect_ratio="16:9", background=true)Check progress and download:
FalJobStatus(job_id="abc123")FalJobResult(job_id="abc123", output_path="flowers.mp4")Image-to-Video
Section titled “Image-to-Video”Turn a still image into video:
FalGenerate( model="fal-ai/kling-video/v2.6/pro/image-to-video", prompt="Gentle camera pan across the landscape", image_url="/path/to/landscape.png", output_path="landscape-video.mp4", background=true)Discovering Models
Section titled “Discovering Models”Search the catalog
Section titled “Search the catalog”SearchFalModels(query="text to image", limit=10)SearchFalModels(query="video generation", category="text-to-video")SearchFalModels(query="3d", limit=5)SearchFalModels(query="audio", limit=5)Get model details
Section titled “Get model details”GetFalDocs(model_id="fal-ai/flux-pro")GetFalModelSchema(model_id="fal-ai/kling-video/v2.6/pro/text-to-video")Common Models
Section titled “Common Models”| Category | Model | Description |
|---|---|---|
| Image | fal-ai/flux-pro | High-quality text-to-image |
| Image | fal-ai/flux/schnell | Fast image generation |
| Video | fal-ai/kling-video/v2.6/pro/text-to-video | Text-to-video |
| Video | fal-ai/minimax/video-01 | Another video model |
| Audio/TTS | fal-ai/minimax/speech-2.6-hd | Text-to-speech |
Background Jobs
Section titled “Background Jobs”Video and other long-running generations run as background jobs:
FalListJobs() # List all jobsFalJobStatus(job_id="abc123") # Check specific jobFalJobResult(job_id="abc123", output_path="out.mp4") # Download resultCredentials
Section titled “Credentials”FAL generation requires a FAL_KEY. Set it via:
/credentials set falOr set the FAL_KEY environment variable. If you’re authenticated with Gee, your FAL key may already be available through the backend.
Next Steps
Section titled “Next Steps”- Tools Overview — the complete tool list
- Skills & Plugins — build reusable skills around media workflows
- Models & Providers — configure AI providers