WeGenDocs
Generation API

Generation API

All personal-key generation endpoints at a glance.

Read as Markdown ↗

Base URL

https://wegen.art

Authenticate using Authorization: Bearer $LETSGEN_API_KEY. Send JSON with Content-Type: application/json except for the raw-media and multipart voice uploads.

Endpoints

MethodPathScopeReference
GET/api/generate/modelsreadDiscover models
POST/api/generate/imagegenerateImages
POST/api/generate/videogenerateVideos
POST/api/generate/audiogenerateAudio
GET / HEAD/api/generate/tasks/{id}readTasks
POST/api/generate/assetsgenerateUpload assets
GET/api/generate/voicesreadVoices
POST/api/generate/voicesgenerateVoices
POST/api/generate/text/v1/chat/completionsgenerateText and streaming
POST/api/generate/extract/videogenerateVideo extraction

Image, video, audio, text, and extraction submissions require Idempotency-Key. Asset and voice uploads are explicit mutations and do not implement generation idempotency. Avoid automatically repeating an upload after an ambiguous response.

Machine-readable reference

Download OpenAPI 3.1 for API tooling. Agents can use llms.txt, the full Markdown reference, or Read as Markdown on any page. Schemas describe the public envelope; model-specific parameters are validated by the generation service.

There is no public webhook registration, cancellation endpoint, model-detail endpoint, or caller-supplied provider routing in this API. Poll media tasks; consume text as JSON or SSE.

On this page