AI
Cosmic offers a suite of features in the dashboard powered by AI to help you build your Cosmic projects faster.
AI Studio
Content Model Generation
The AI Studio generates complete content structures from natural language descriptions. Instead of manually configuring fields, relationships, and validation rules, you can describe what you need and receive a fully functional content model with multiple content types, relationships, and demo content to get started fast.
Content model capabilities:
- Generate content models for any type of website or application
- Add new content types that integrate with existing structures
- Configure relationships between content types automatically
- Create complex multi-language structures with custom validation
Working examples:
- "Create a content model for an e-commerce store with products, collections, and customer reviews"
- "Add an Events content model that relates to my existing blog posts and authors"
- "Set up a portfolio website with projects, skills, and testimonials"
Content Management
Beyond structure creation, the AI handles content generation and management at scale.
Content operations:
- Generate realistic sample content for testing and development
- Bulk update existing content with new fields and metadata
- Maintain consistency across large content datasets
- Apply SEO optimization and structured data automatically
Practical applications:
- "Create 10 sample blog posts with realistic content for my existing blog model"
- "Update all product entries to include pricing and availability status"
Application Development and Deployment
AI-Powered Code Generation
The Cosmic AI Platform generates production-ready applications using your existing content structure. Applications are built with modern frameworks and include proper TypeScript definitions, responsive design, and performance optimizations.
Supported frameworks:
- Next.js applications with server-side rendering
- React dashboards and single-page applications
- Astro static sites with modern tooling
- Vue.js progressive web applications
AI assisted development
Click the "AI chat" button in the top right corner of the Cosmic dashboard to open the AI chat drawer. Use AI chat to learn how to integrate your content into your apps. Available for the admin and developer role.
Get insights from media
Click the "AI chat" button on any media asset to get summaries and insights from PDFs, spreadsheets, documents, and more. Available for all roles.
Generate alt text
To generate alt text for an image, go to any image, find the alt text area, and click the "Generate" button. You can also generate alt text for a group of images at once. Available for all roles.
Generate images
To generate images, open the Media modal, click the "Generate" button, and describe the image you want to generate. Available for all roles.
Auto translate content with AI
You can use Cosmic AI to auto translate content from one language to another. Available for all roles.
Content generation
You can use Cosmic AI to generate content for your projects. Create summaries, SEO optimized content, translations, and more. Available for all roles.
Usage and limits
Cosmic AI is available on all Cosmic plans with varying limits. You can add more tokens to your account by upgrading your plan or adding the AI tokens add-on. Go to the pricing page to learn more.
Tokens
Tokens are the unit of usage for Cosmic AI. In general, 1 token equals 1 word or 4 characters. You can view your AI usage from the Usage section of your projects.
Input tokens are the number of tokens used to in your request. When generating image alt text, the input token count is 3,000.
Output tokens are the number of tokens generated by the AI. This number depends on the length of the content generated. When generating images, the output token count is 17,000.
Getting started
Log in to your Cosmic account and start using Cosmic AI today.