Image Generation - Mystic
Overview
Freepik API’s Mystic is a Freepik-exclusive AI image generation tool.
Mystic AI image generation is a cutting-edge tool that produces stunningly realistic, high-resolution images. With options for both 2K and 4K resolution, Mystic delivers sharp, detailed visuals that rival professional photography. From intricate facial features to complex textures, every element is rendered with exceptional clarity and precision.
Stunning 2K and 4K Quality
Enjoy razor-sharp 2K and 4K resolution with Freepik Mystic. Generate high-definition images with zero effort—no extra steps or upscaling needed. Just describe your vision, and Mystic will create beautifully detailed visuals ready for any project, from web design to large-format printing.
Effortless Creation
Transform your text descriptions into impressive, realistic results with custom parameters. Whether you need faces, hands, or text, everything is pixel-perfect and photo-realistic. Our state-of-the-art AI technology ensures that every generated image meets professional standards without requiring additional editing.
Versatile Applications
Perfect for a wide range of uses, including:
- Marketing materials that demand visual impact
- E-commerce product showcases with lifelike detail
- High-quality illustrations for publications
- Concept art for film and game development
- And much more!
With Mystic AI, you’re equipped to create visuals that captivate and convince, all at the click of a button.
Take me to the code
API Reference: Mystic AI Image Generation
Generate an Image with Mystic AI
Create a Mystic AI image generation task.
POST /v1/ai/mystic
Generate an image using Mystic AI
Key Parameters
Prompt for the AI model. Describe the image you want to generate in detail.
Resolution of the image. Options are:
- “2k”
- “4k”
Image size with the aspect ratio. The aspect ratio is the proportional relationship between an image’s width and height, expressed as *_width_height. Options include:
- “square_1_1”
- “classic_4_3”
- “traditional_3_4”
- “widescreen_16_9”
- “social_story_9_16”
- “smartphone_horizontal_20_9”
- “smartphone_vertical_9_20”
- “standard_3_2”
- “portrait_2_3”
- “horizontal_2_1”
- “vertical_1_2”
- “social_5_4”
- “social_post_4_5”
Experimental feature that tries to give an extra boost of reality to your images, a kind of “less AI look”. Works especially well with photographs but also with illustrations. IMPORTANT: deactivate it if you are trying to generate something that is really fantastic or a known character, otherwise it won’t follow your prompt well.
Higher values can achieve greater detail per pixel at higher resolutions at the cost of giving a somewhat more “HDR” or artificial look. Very high values can generate quite crazy things like eyes where they shouldn’t appear, etc. Valid values range [0, 100].
Select the engine for the AI model. Available options:
- “automatic” - default choice
- “magnific_illusio” - for smoother illustrations, landscapes, and nature. The softer looking one.
- “magnific_sharpy” - better for realistic images like photographs and for a more grainy look. It provides the sharpest and most detailed images. If you use it for illustrations it will give them more texture and a less softer look.
- “magnific_sparkle” - also good for realistic images. It’s a middle ground between Illusio and Sharpy.
When this option is enabled, using the same settings will consistently produce the same image. Fixed generations are ideal for fine-tuning, as it allows for incremental changes to parameters (such as the prompt) to see subtle variations in the output. When disabled, expect each generation to introduce a degree of randomness, leading to more diverse outcomes.
Webhook URL to notify the user when the task is completed.
Authentication
Include the x-freepik-api-key
header in your requests for authentication. Keep this key secure and don’t share it with others.
Get one Mystic generation task status
You can check the status of a Mystic AI image generation task using the task ID returned from the initial request.
GET /v1/ai/mystic/{task-id}
Get the status of a Mystic AI image generation task
Get all Mystic generation tasks
You can retrieve a list of all your Mystic AI image generation tasks, including their statuses and details.
GET /v1/ai/mystic
Get a list of all Mystic AI image generation tasks
Get all LoRAS
You can retrieve a list of all available LoRAs (Low-Rank Adaptation) for Mystic AI image generation.
GET /v1/ai/loras
Returns a curated list of available LoRAs (Low-Rank Adaptation)
Pricing and Usage
To access the Mystic AI image generation feature:
- Generate an API key if you haven’t already on the API user dashboard.
- Add a payment method to upgrade to a premium plan at the Billing section on the API user dashboard.
Once upgraded, you’ll have access to Mystic AI image generation along with other premium features like Magnific.ai image upscaler.
Pricing is based on a pay-as-you-go model, with no prepayment or commitment required. You’ll only be charged for the images you actually generate.
The cost per image generation depends on the resolution:
- 2K resolution: €0.10 per image
- 4K resolution: €0.32 per image
Rate Limiting
Mystic AI image generation is subject to the following rate limits:
- 450 requests per day (RPD) for each 2K and 4K resolutions.
- General rate per second (RPS) limitations apply as detailed in our Rate Limiting documentation.
Need a higher rate limit? If your application requires more than 350 requests per day, please contact our sales team with details about your use case and expected traffic. We’ll be happy to discuss a custom plan that meets your needs.
Frequently Asked Questions
Need Help?
For questions or custom requirements, contact the Freepik sales team.
Was this page helpful?