Generate a client with your agent
For another language, give your coding agent the public OpenAPI spec and the agent-ready reference corpus. Ask it to keepLEGNEXT_API_KEY server-side and implement the complete
submit → wait → persist flow.
Generation tasks are asynchronous. Poll
GET /v1/job/{job_id} or use a
webhook, then download outputs before their remote URLs expire.The PHP client source exists on GitHub but is not listed here until its Composer
package is publicly installable.