Frequently Asked Questions

Common questions and answers

General Questions

What is the difference between the Onysoft API and the OpenAI API?

The Onysoft API is fully compatible with the OpenAI API format. The difference is that Onysoft offers models from multiple AI providers through a single API and bills in Turkish Lira.

Can I migrate my existing OpenAI code to Onysoft?

Yes! You only need to change the base_url and api_key values. It is fully compatible with the OpenAI SDKs.

Which models can I use?

You can use models from OpenAI (GPT-4, GPT-4o), Anthropic (Claude 3.5), Google (Gemini), Meta (Llama), DeepSeek and many more providers.

Billing Questions

How do I pay?

You can add balance in Turkish Lira with a credit card via the Dashboard. A prepaid system is used.

Can I get an invoice?

Yes, a corporate e-invoice is issued for all your payments. You can access your invoices from the Dashboard.

What happens if my balance runs out?

When your balance reaches zero, API requests return a 402 (Payment Required) error. Service resumes automatically after you add balance.

Video / Image / Music Generation

What is the difference between the Chat API and the Video API?

/v1/chat/completions works synchronously and is for text/chat models (GPT-4, Claude, Gemini, Llama, etc.). The response returns immediately. /v1/video/generate, on the other hand, works asynchronously and is used for video, image and music generation — it first returns a task_id, then you poll the status with /v1/video/status/{task_id}.

Why are Google Gemini image models on the chat endpoint?

Gemini image models (such as google/gemini-2.5-flash-image) are served by Google in the chat completions format — a base64 image is returned within the response. That is why they are called through /v1/chat/completions and do not go through KieAI.

How do image-to-image (i2i) models work?

i2i models (e.g. seedream/4.5-edit, ideogram/v3-edit) require a source image. You can send a public HTTP URL or a base64 data URI with the image_url parameter. If you send base64, the system automatically saves it to a temp file and converts it to a public URL.

I get a "This field is required" error, what should I do?

This error usually comes from the KieAI API and means required parameters are missing. The system fills in the required parameters for most models automatically, but some models (seedream, gpt-image, flux-2) require special parameters. The current code fills these parameters in automatically — if you still get this error, the model may currently be malfunctioning on the KieAI side. Try another model (e.g. google/imagen4 or ideogram/v3-text-to-image always work).

How long does generation take?

Image generation: 5-30 seconds. Video generation: 30 seconds - 5 minutes (depending on the model and the length). Music generation: 30-90 seconds. Poll the status endpoint every 5 seconds to track progress.

Where can I see the current prices for all models?

The GET /v1/models endpoint returns all active models and the prices after the markup applied to you. Alternatively, you can visit the Models page in the Dashboard.

How often are new models added?

When new models are released from OpenRouter and KieAI, they are synced from the Model Synchronization page in the admin panel. New models typically become active in the system within 24-48 hours after KieAI's release.

Want help finding the right model?