CLAUDE.md
This is the Krea AI documentation repository, built with Mintlify.Repository Structure
Configuration
- Platform: Mintlify (
docs.jsonis the main config file) - OpenAPI: Auto-generates API reference from
https://api.krea.ai/openapi.json - Theme: Light/dark mode with primary color
#0C0C15
Page Conventions
Frontmatter
All MDX pages use YAML frontmatter:Mintlify Components
- Callouts:
<Info>,<Tip>,<Warning>,<Note>,<Check> - Cards:
<Card title="..." icon="..." href="...">,<CardGroup cols={2}> - Steps:
<Steps>/<Step title="..."> - Tabs:
<Tabs>/<Tab title="..."> - Accordions:
<AccordionGroup>/<Accordion title="..."> - Code:
<CodeGroup>for multi-language examples
Custom Components (in /snippets)
HeroHeader.jsx- Banner with image/videoImageCard.jsx/VideoCard.jsx- Linked cardsModelOverviewCard.jsx- Model selection cardsModelAccordion.jsx- Expandable model details
Adding New Pages
- Create
.mdxfile in the appropriate directory - Add frontmatter with title and description
- Add the page path to
docs.jsonunder the correct navigation group - Use existing pages as templates for consistent formatting
Commands
Uploading Images
Images are hosted on Cloudflare R2 athttps://s.krea.ai/. Use the upload utility:
- Bucket:
static - Public URL:
https://s.krea.ai/ - Docs images go in:
docs/folder (e.g.,s.krea.ai/docs/image.png)
https://placehold.co/ for draft screenshots before real images are ready:
placehold.co URLs are replaced with real images.
Style Guidelines
- Use clear, concise language
- Include step-by-step instructions with
<Steps>component - Add provider-specific instructions in
<Tabs>when applicable - Include troubleshooting sections with
<AccordionGroup> - Link to related pages and external resources
- External links: Add ↗ arrow to link text (e.g.,
[Google Docs ↗](https://...)) - Images hosted on
s.krea.aiCDN or in/imagesfolder
Contact
- Support: support@krea.ai
- Sales (Enterprise): sales@krea.ai
- Discord: https://krea.ai/discord
Krea Product Context
Krea is a creative AI platform for generating, enhancing, editing, and animating images and videos. It serves creative professionals in branding, architecture, filmmaking, and fashion.Subscription Plans
- Free: Limited usage for exploration
- Pro: Enhanced limits for regular users
- Artist: Higher limits for professional creators
- Enterprise: Custom limits, SAML SSO, dedicated support
Core Features
-
Flux / KREA Image - Primary image generation tool combining text prompts, style references, and aspect ratio controls
- Models: Flux, Flux 1.1 Pro, Flux 1.1 Pro Ultra, Ideogram 2.0, Imagen 4
-
RealTime - Dynamic environment for live, instant image updates as you adjust prompts
- Supports text-based, canvas mode, screen sharing, and camera input
-
Enhancer - Upscale images up to 8x, adjust clarity, add effects
- Presets: Default, Flat Sharp, Strong, Reinterpretation, Oil Painting, Digital Art
-
Edit - Canvas-based tool for modifying, blending, and expanding images
- Tools: Select, Change Region, Cut Objects, Extend Frames (Outpainting), Add & Blend
-
Video Models - AI video generation for storytelling and promotional content
- Models: Hunyuan, Hailuo, 01-Live, Luma, Runway, Kling, Veo 3
- Training - Upload datasets to train custom models for consistent stylistic outputs