BUILD WITH DAR-ION

AI for your website.
Ready when you are.

Add helpful chat, creative images and video to your own website. Get an API key and start building, or personalize an assistant for your business.

Pay as you go. No required monthly subscription. Start with $10.

Get started ↓Integration docs ↗

A free account is all you need to create a key. Your website server keeps it private.

Create your API key

Give your key a name. Personalization is optional.

Checking your account…

View usage pricing

Predictable credit rates. No token calculations needed.

CHAT

10 replies / credit

About 0.9–1¢ per reply with credit packs.

Charged in ten-reply blocks. Unused reply allowances carry forward across all your API keys.
IMAGES

4 credits / image

About 36–40¢ per image.

1024 × 1024 JPEG. Add your own brand-style instructions.
VIDEO

25 / 50 credits

5 seconds / 10 seconds.

About $2.25–$2.50 / $4.50–$5.00. Landscape or portrait MP4, with optional starting-image URL.

Credit packs: 100/$10, 250/$25 or 500/$45. USD before tax. Equivalent per-use prices depend on the pack. Business API chat uses reply allowances; normal dar-ion Chat uses its separate free or subscription message allowance.

Chat credits are purchased in ten-reply blocks when your reply balance is empty. Unused replies carry forward. Image/video credits are reserved before generation; confirmed failures restore credits, while uncertain outcomes need review. Credit purchases and applicable taxes are shown before checkout.

Buy credits ↗
Integration docs & website widget

The starter includes a server proxy and an embeddable chat/image/video widget. Your server keeps the API key private. A developer can also connect an existing website directly to the API.

Download website starter ↓

Add this to your website after setting up the starter’s /darion server routes:

<script src="https://dar-ion.com/business/widget.js"
  data-endpoint="/darion" data-title="Our AI assistant"
  data-tools="chat,image,video" defer></script>

The widget displays an AI disclosure and sends visitor requests through your server. Review your website’s privacy notice and protect access before opening it to visitors. It does not connect orders, send messages or take actions in other business systems.

Chat API · 1 credit buys 10 replies
POST https://dar-ion.com/api/business/chat
Authorization: Bearer YOUR_SERVER_API_KEY
Idempotency-Key: chat_request_unique_0001
Content-Type: application/json

{"messages":[{"role":"user","content":"What services do you offer?"}]}

Returns reply, id, and billing metadata. Send up to 12 recent user/assistant messages, with at most 12,000 characters of history; each message is at most 4,000 characters. Combined reference information and history is limited to 24 KB. Replies are capped at 1,200 output tokens. Web search, file analysis and external actions are not included.

One credit purchases ten reply allowances when your balance is empty. Each new request uses one allowance. Allowances are shared across your API keys and carry forward. Explicit provider rejection restores the allowance; it does not undo the ten-reply purchase. A timeout may have produced a reply, so the allowance stays held for review. Reuse the original request ID to recover a saved reply without another charge.

Image API · 4 credits
POST https://dar-ion.com/api/business/images
Authorization: Bearer YOUR_SERVER_API_KEY
Idempotency-Key: image_request_unique_0001
Content-Type: application/json

{"prompt":"A studio product photo of a handmade ceramic mug"}

Returns image (JPEG data URL), creationId, and saved. Prompt length: 12–800 characters. 1024 × 1024 JPEG. Image editing is available separately in Creative Studio.

Video API · 25 / 50 credits
POST https://dar-ion.com/api/business/videos
Authorization: Bearer YOUR_SERVER_API_KEY
Idempotency-Key: video_request_unique_0001
Content-Type: application/json

{"prompt":"A cinematic sunrise over a cozy coffee shop",
 "duration":5,"ratio":"1280:720"}

GET https://dar-ion.com/api/business/videos?id=RETURNED_VIDEO_ID
Authorization: Bearer YOUR_SERVER_API_KEY

POST returns 202 and a durable video id. Poll GET every 20 seconds. SAVED includes a temporary signed video URL; download it to your own media storage. Supported durations: 5/10 seconds; ratios: 1280:720 or 720:1280. Optional image must be a public HTTPS starting-image URL. Prompt length: 15–650 characters. Only the creating API key can check a video through this endpoint.

Request IDs, credit protection & errors

Use a new Idempotency-Key for every deliberate generation and keep it for recovery. Reusing it with different inputs returns 409. New IDs can generate and charge again. Keys may contain 12–100 letters, numbers, underscores or hyphens. Do not automatically retry using a new ID after an error.

401: invalid/revoked key. 402: insufficient credits. 403: service not enabled on this key. 409: original request pending, conflicted, refunded or needs review. 429: request cap. 5xx: unavailable or uncertain outcome. The business wallet and reply balance prevent unpaid use; Studio shares the same credit wallet. Image/video results also appear in My creations/My videos. Confirmed media failures restore generation credits; uncertain outcomes are held for review. Existing retention rules apply.

Fund my business with credits ↗