Base URL
All requests are HTTPS POST with JSON bodies.
POST · JSON
https://api.celestialization.com/api/

You authenticate by including your API key in the JSON body under apikey.

Core endpoints

Endpoint Purpose
text-with-image.php Chat-style responses, with optional image URL for vision.
image.php Generate images from natural language prompts.

Quick example (curl)

curl -X POST \
  https://api.celestialization.com/api/text-with-image.php \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "hi how are you",
    "image_url": "",
    "apikey": "YOUR_API_KEY"
  }'