Quick Start
Helium is an AI-powered platform that creates websites, apps, images, videos, and more using natural language. This guide shows you how to use the Public API.
Base URL: https://api.he2.ai
Get Your API Key
- Visit https://he2.ai/ and sign up
- Go to Settings → API Keys
- Create a new API key (format:
he-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) - Keep it secure - never share or commit to code
Your First API Call
Create and execute a task immediately with a simple POST request:
curl -X POST "https://api.he2.ai/api/v1/public/quick-action" \ -H "X-API-Key: he-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ -F "prompt=Create a simple hello world website"Response:
{ "success": true, "project_id": "proj_abc123", "thread_id": "thread_xyz789", "agent_run_id": "run_123456", "message": "Task created and execution started"}Get Results
Retrieve the results from your completed task:
curl -X GET "https://api.he2.ai/api/v1/public/threads/thread_xyz789/response?project_id=proj_abc123" \ -H "X-API-Key: he-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Next Steps: Check out the Authentication guide to learn more about API keys and JWT tokens, or explore the API Reference for detailed endpoint documentation.