Real AI API Access for Students
Give every student their own API key to generate images and videos with 10+ AI models. Set per-key spend limits so no one blows the course budget.
OpenAI SDK compatible β students already know the interface. Works for university courses, bootcamps, hackathons, and workshops.
Teaching AI Generation Shouldn't Be This Hard
Typical Classroom Setup
Expensive, fragile, unpredictable costs
- Each student needs their own paid account on each AI platform β per-seat fees add up fast
- No spend controls: one student's runaway loop can burn through the entire course budget in minutes
- Free tiers hit rate limits during class β 30 students calling the same API at once gets throttled
- Different APIs for images vs. video means students learn multiple SDKs instead of the material
- No usage visibility β you can't see which students are active or who needs help
One Account, Many Keys
Per-key limits, full visibility
- Create one account, buy credits once, then issue a separate API key per student or team
- Set a spend limit on each key (e.g. 50 credits/month) β the API blocks requests once the cap is hit
- Per-key rate limits prevent any single student from overwhelming the service during class
- One SDK (OpenAI-compatible) covers all image and video models β students learn one interface
- Usage stats per key: see calls, spend, and last-used timestamps for every student key
Set Up a Class in Three Steps
No IT department needed. One instructor account, API keys for everyone.
Buy Credits
Sign up, purchase a credit pack sized for your class. Credits never expire, so unused budget carries over to the next semester. No subscriptions or commitments.
Create Keys with Spend Limits
In the dashboard, create an API key per student or team. Set a monthly spend cap (e.g. 50 credits) and optional rate limit. Add a description like "CS101 β Team 3" to stay organized.
Hand Out Keys
Give each student their API key and the base URL. They use the standard OpenAI Python or Node.js SDK β just change the base_url. They're generating in minutes.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_CREATIVEAI_KEY",
base_url="https://api.creativeai.run/v1"
)
# Student assignment: generate a scene from a text description
result = client.images.generate(
model="seedream-3.0",
prompt="""A cozy reading nook in a treehouse library,
warm afternoon light through round windows,
books stacked on wooden shelves, watercolor style.""",
size="1024x1024"
)
print(f"Generated image: {result.data[0].url}")Budget Controls That Actually Work
Every API key has its own spend limit, rate limit, and usage counter. These features are already live in CreativeAI today.
Per-Key Spend Cap
Set a monthly credit limit on each API key. When the cap is reached, the API returns a 429 error β no surprise bills. Resets automatically each month.
Per-Key Rate Limit
Optionally cap requests per minute per key. Prevents any single student from flooding the API during a lab session. System defaults apply if not set.
Usage Stats Per Key
See total calls, monthly spend, and last-used timestamp for each key. Know which students are active and who might need help getting started.
Spend Alert Emails
Set a threshold (e.g. 40 credits) and get an email when a key approaches its limit. Catch issues before students run out mid-assignment.
Key Descriptions
Label each key with a description like "CS101 Section B β Team 3" or "Hackathon Day 2". Makes it easy to manage dozens of keys across multiple classes.
Key Rotation
Rotate a compromised key with one click. The new key inherits the same name, description, spend limit, and rate limit. The old key is immediately revoked.
What Educators Build with CreativeAI
CS / AI Course Labs
Students call the images API from Python notebooks. Explore prompt engineering, model comparison, and API design patterns with a real production API.
Digital Arts & Design
Art and design students experiment with AI-generated imagery as a creative tool. Compare model aesthetics β photorealistic, illustrated, abstract β from one SDK.
Hackathons & Competitions
Issue time-limited keys with spend caps for each team. Built-in usage tracking lets judges see what teams built and how many credits they used.
Bootcamp Projects
Bootcamp students build real apps powered by AI image generation. The OpenAI-compatible API means their project code works with industry-standard tooling.
Group Projects & Teams
Create one key per team with a shared spend limit. Add a description to track which team has which key. Monitor usage to ensure fair resource allocation.
API Design Workshops
Teach REST API concepts with a real, well-documented API. Students learn authentication, error handling, polling for async results, and rate limit etiquette.
Pay-Per-Use, Not Per-Seat
No per-student licensing. Buy credits once, divide them across keys with spend caps. Credits never expire β unused budget carries to next semester.
Example: 30-Student CS Course
Exact cost depends on models used. Images start at ~$0.03/generation.
For University Instructors
Run AI labs without IT procurement. Create an account, buy credits from your research or course budget, and issue keys to students. Per-key spend limits give you full control.
For Bootcamp Operators
Give every cohort real API access from day one. The OpenAI-compatible SDK means students build portfolio projects with industry-standard tools. Pay only for what they generate.
For Workshop & Event Organizers
Issue time-limited keys for hackathons, workshops, and conference tutorials. Set tight spend caps, let participants build, revoke keys when the event ends.
Frequently Asked Questions
How do I prevent students from overspending?
Each API key has an optional monthly spend limit. Set it when you create the key (e.g. 50 credits). The API automatically blocks requests with a 429 status code once the cap is reached. You can also set a lower alert threshold to get an email notification before the limit is hit.
Do students need their own CreativeAI accounts?
No. You create one instructor account, purchase credits, and generate API keys in the dashboard. Each student or team gets their own key. They only need the key and the base URL (https://api.creativeai.run/v1) to start making API calls.
Is this compatible with OpenAI SDK course materials?
Yes. CreativeAI's image generation endpoint is OpenAI SDK compatible. Students use the standard openai Python or Node.js package and change only the base_url and api_key. If your course already covers the OpenAI images API, the code examples work with minimal modification.
Can I track which students are using their keys?
Yes. The API key stats endpoint and dashboard show total calls, monthly spend, and last-used timestamp for each key. You can also add descriptions to keys (e.g. "CS101 β Alice") to keep track of who has which key.
What if a student shares or leaks their key?
You can rotate the key with one click in the dashboard or via the API. The new key inherits the same settings (name, description, spend limit, rate limit) and the old key is immediately revoked. The per-key spend cap also limits blast radius.
How many API keys can I create?
There is no hard limit on the number of API keys per account. You can create keys for each student individually or per team β whichever fits your course structure.
Give Your Students Real AI API Access
50 free credits on signup β enough to test the full workflow before committing a course budget.
No credit card required. Per-key spend limits available on all plans.