# Sgrìobhainnean airson àidseantan AI

Tha na sgrìobhainnean seo air an togail airson an leughadh le luchd-cuideachaidh AI a bharrachd air daoine. Thoir do dh’àidseant aon de na puingean inntrigidh gu h-ìosal agus
’s urrainn dha còd amalachaidh ceart a sgrìobhadh gun a bhith a’ tomhas ainmean nam paramadairean no nam prìsean.

## Puingean inntrigidh

| URL | Dè th’ ann |
|---|---|
| [https://doitong.com/developers/llms.txt](https://doitong.com/developers/llms.txt) | Clàr-amais ann an cruth [llms.txt](https://llmstxt.org): gach stiùireadh agus modail le tuairisgeul aon-loidhne. |
| [https://doitong.com/developers/llms-full.txt](https://doitong.com/developers/llms-full.txt) | Gach stiùireadh slàn, na modalan sònraichte slàn agus bunaitean nan 1,496 modalan uile (id, neach-dèanaimh, prìs, ceangal ris an duilleag shlàn) ann an aon fhaidhle Markdown. |
| `/<lang>/developers/llms.txt` | An aon chlàr-amais leis na stiùiridhean ann an cànan eile na làraich, mar eisimpleir `https://doitong.com/de/developers/llms.txt` (is e Beurla am bun-roghainn). |
| `<any page>.md` | An dà leth Markdown de dhuilleag, mar eisimpleir [https://doitong.com/developers/models/flux/schnell.md](https://doitong.com/developers/models/flux/schnell.md) no [https://doitong.com/developers/docs/quickstart.md](https://doitong.com/developers/docs/quickstart.md). |
| `/developers/models/<id>/llms.txt` | An aon rud ri leth `.md` a’ mhodail. |
| [https://doitong.com/developers/openapi.json](https://doitong.com/developers/openapi.json) | OpenAPI 3.1 airson gineadairean còd: gach puing-crìche agus buidhnean iarrtais clò-sgrìobhte de na modalan sònraichte; cuiridh `?model=<id>`, `?category=<id>` no `?models=all` feadhainn eile ris. |
| `https://api.doitong.com/v1/models` | An catalog mar JSON (chan eil iuchair a dhìth). |

Tha prìs gach duilleig Markdown de mhodail ann an USD agus creideasan API, gach paramadair leis na luachan ceadaichte uile, eisimpleir le riatanasan a-mhàin agus
eisimpleir slàn, cruth na freagairt, agus còd deiseil airson curl, JavaScript, Python agus MCP.

## Dèan lethbhreac airson AI

Tha putan **Dèan lethbhreac airson AI** aig gach duilleag mhodail: dèan lethbhreac den duilleag mar Markdown, no fosgail i ann an ChatGPT no Claude le
prompt a chomharraicheas an tionndadh Markdown don neach-cuideachaidh.

## Prompt a dh’obraicheas

Cuir seo ann an Claude, ChatGPT no Cursor, agus an uairsin innis dè tha thu airson a thogail:

```text Prompt
I want to generate images/video/audio with the Doitong API.
Read https://doitong.com/developers/llms.txt first, then the .md page of each model you plan to use.
Facts: base URL https://api.doitong.com/v1; auth header "Authorization: Bearer <key>" with the key from the
DOITONG_API_KEY environment variable; run with POST /run/{model_id}?wait=20 and, if the status is
still queued or running, poll GET /requests/{id}?wait=20; outputs[].url are file URLs on Doitong storage
(kept forever by default; add ?storage=temporary for throwaway runs, deleted after 7 days).
Get the price first with POST /quote/{model_id} (same body): exact, or for a model charged by usage the
most the run can cost (the unused part is refunded). Prices are in USD; 1000 API credits = 1 USD.
Use the parameter names from the model page; never invent parameters.
```

## Leig leis an àidseant modalan a ghairm fhèin

Gus leigeil le àidseant meadhanan a ghineadh gu dìreach, ceangail an [fhrithealaiche MCP](https://doitong.com/developers/docs/mcp) le iuchair aig a bheil
buidseat ann an creideasan API. Bidh innealan aig an àidseant an uair sin airson modalan a lorg, luachan fhaighinn, an ruith agus toraidhean fhaighinn, agus chan urrainn dha barrachd a chosg na
am buidseat.
