# Freepik API Documentation > Freepik API provides AI-powered image generation, video generation, image editing, and stock content access for developers. ## Quick Start - [Introduction](/introduction): Overview of Freepik API capabilities - [Quickstart](/quickstart): Get started in 5 minutes - [Authentication](/authentication): How to authenticate with x-freepik-api-key header - [Webhooks](/webhooks): Async processing with callback notifications - [Rate Limits](/ratelimits): Usage limits and quotas - [Pricing](/pricing): Credit-based pricing model ## Image Generation APIs ### Mystic (Recommended) - [Overview](/api-reference/mystic/mystic): Freepik's exclusive AI workflow for ultra-realistic images - [Generate Image](/api-reference/mystic/post-mystic): POST /v1/ai/mystic - [Get Task Status](/api-reference/mystic/get-mystic-task): GET /v1/ai/mystic/{task-id} ### Flux Models - [Flux Kontext Pro](/api-reference/text-to-image/flux-kontext-pro/overview): Context-aware generation with optional image input - [Flux 2 Pro](/api-reference/text-to-image/post-flux-2-pro): Professional-grade generation with image-to-image support - [Flux 2 Turbo](/api-reference/text-to-image/post-flux-2-turbo): Speed-optimized generation at lower cost - [Flux 2 Klein](/api-reference/text-to-image/flux-2-klein/overview): Sub-second generation with up to 4 reference images - [Flux Pro 1.1](/api-reference/text-to-image/flux-pro-v1-1/post-flux-pro-v1-1): Premium quality generation - [Flux Dev](/api-reference/text-to-image/flux-dev/post-flux-dev): High quality, detailed images - [Hyperflux](/api-reference/text-to-image/post-hyperflux): Ultra-fast generation ### Seedream Models - [Seedream 4](/api-reference/text-to-image/seedream-4/overview): Fast, high-quality generation - [Seedream 4.5](/api-reference/text-to-image/post-seedream-v4-5): Latest Seedream model - [Seedream 4.5 Edit](/api-reference/image-editing/seedream-4-5-edit/overview): Text-guided image editing ### Z-Image - [Z-Image Turbo](/api-reference/text-to-image/z-image-turbo/overview): Fast generation for quick iterations ### RunWay Text-to-Image - [RunWay Text-to-Image](/api-reference/text-to-image/post-runway): High-quality image generation from text ## Video Generation APIs ### Kling Models (Most Popular) - [Kling 2.1 Pro](/api-reference/image-to-video/kling-v2.1-pro/overview): High-quality video from images - [Kling 2.5 Pro](/api-reference/image-to-video/kling-v2.5-pro/overview): Enhanced motion quality - [Kling 2.6 Pro](/api-reference/image-to-video/kling-v2-6-pro): Latest Kling with motion control - [Kling 2.6 Motion Control](/api-reference/image-to-video/kling-motion/overview): Precise camera and motion control - [Kling O1 Pro/Standard](/api-reference/image-to-video/kling-o1-pro/overview): Enhanced reasoning for complex prompts ### MiniMax Hailuo - [Hailuo 02 1080p](/api-reference/image-to-video/minimax-hailuo-02-1080p/post-minimax-hailuo-02-1080p): High resolution video - [Hailuo 2.3](/api-reference/image-to-video/minimax-hailuo-2-3-1080p/post-minimax-hailuo-2-3-1080p): Latest MiniMax model - [Video-01-Live](/api-reference/image-to-video/minimax-video-01-live/overview): Real-time video generation ### WAN Models - [WAN 2.5 T2V](/api-reference/text-to-video/wan-2-5-t2v-1080p/overview): Text-to-video 1080p - [WAN 2.5 I2V](/api-reference/image-to-video/wan-2-5-i2v-1080p/overview): Image-to-video 1080p - [WAN 2.6](/api-reference/image-to-video/wan-v2-6-1080p): High resolution video ### RunWay Models - [RunWay Gen4 Turbo](/api-reference/image-to-video/runway-gen4-turbo/overview): Fast video generation - [RunWay Act Two](/api-reference/video/runway-act-two/overview): Character-consistent video generation ### Other Video Models - [LTX 2.0 Pro](/api-reference/text-to-video/ltx-2-pro): Text-to-video generation - [Seedance Pro](/api-reference/image-to-video/seedance-pro-1080p/post-seedance-pro-1080p): ByteDance video model - [PixVerse V5](/api-reference/image-to-video/pixverse/overview): Creative video effects - [OmniHuman 1.5](/api-reference/video/omni-human-1-5): Audio-driven human animation - [VFX Video Effects](/api-reference/video/vfx/overview): AI-powered visual effects ## Image Editing APIs ### Upscaler (Magnific) - [Upscaler Creative](/api-reference/image-upscaler-creative/image-upscaler): AI upscaling with detail enhancement - [Upscaler Precision](/api-reference/image-upscaler-precision/image-upscaler): Faithful upscaling ### Other Editing - [Relight](/api-reference/image-relight/image-relight): Change lighting conditions - [Style Transfer](/api-reference/image-style-transfer/image-styletransfer): Apply artistic styles - [Remove Background](/api-reference/remove-background/post-beta-remove-background): Background removal - [Image Expand](/api-reference/image-expand/post-flux-pro): Extend image boundaries ## Audio APIs ### Music Generation (ElevenLabs) - [Overview](/api-reference/music-generation/overview): AI-powered music generation from text descriptions - [Generate Music](/api-reference/music-generation/generate): POST /v1/ai/music-generation - [List Tasks](/api-reference/music-generation/music-generation-tasks): GET /v1/ai/music-generation - [Get Task Status](/api-reference/music-generation/task-by-id): GET /v1/ai/music-generation/{task-id} ### Sound Effects - [Generate Sound Effects](/api-reference/sound-effects/post-sound-effects): POST /v1/ai/sound-effects - [List Tasks](/api-reference/sound-effects/get-sound-effects): GET /v1/ai/sound-effects - [Get Task Status](/api-reference/sound-effects/get-{task-id}-by-id): GET /v1/ai/sound-effects/{task-id} ### Audio Isolation (SAM Audio) - [Overview](/api-reference/audio-isolation/overview): Isolate specific sounds from audio or video - [Isolate Audio](/api-reference/audio-isolation/isolate): POST /v1/ai/audio-isolation - [List Tasks](/api-reference/audio-isolation/audio-isolation-tasks): GET /v1/ai/audio-isolation - [Get Task Status](/api-reference/audio-isolation/task-by-id): GET /v1/ai/audio-isolation/{task-id} ## Stock Content APIs - [Images & Templates](/api-reference/resources/images-and-templates-api): Search and download stock images - [Icons](/api-reference/icons/icons-api): Vector icons library - [Videos](/api-reference/videos/videos-api): Stock video footage ## Base URL ``` https://api.freepik.com ``` ## Authentication All requests require the `x-freepik-api-key` header: ```bash curl -X POST "https://api.freepik.com/v1/ai/mystic" \ -H "x-freepik-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" ``` ## Async Processing Pattern Most AI endpoints use async processing: 1. POST request returns `task_id` 2. Poll GET `/{task-id}` until `status: "COMPLETED"` 3. Or use `webhook_url` parameter for automatic notification ## Support - Dashboard: https://www.freepik.com/developers/dashboard - Discord: https://discord.com/invite/znXUEBkqM7 - Contact: https://www.freepik.com/api#contact