Preguntas frecuentes
Respuestas a preguntas frecuentes sobre tareas, reintentos, créditos y subida de archivos.
¿Hay un endpoint síncrono?
Image, video and music models run as asynchronous tasks: POST /api/v1/jobs returns immediately with a task ID, and you poll GET /api/v1/jobs/{id} until a terminal status. LLMs are synchronous through POST /api/v1/chat/completions.
Can I use the OpenAI SDK?
Yes. Set the base URL to https://api.hermes-ai.net/api/v1 and your Hermes key as the API key. Chat completions, streaming, tools and JSON output work unchanged; pick a model id from GET /api/v1/chat/models.
¿Con qué frecuencia debo consultar?
Cada pocos segundos. El playground web consulta cada 4 segundos. Detente en succeeded, failed o reconciliation_required.
¿Qué pasa si se corta la red durante el envío?
Reintenta con la misma Idempotency-Key y el mismo cuerpo. Si la tarea se aceptó, la recibirás de nuevo (200, replayed: true) sin un segundo cargo.
¿Por qué no puedo ejecutar un modelo?
Check that the model is available and your balance covers the task price. The error code explains why a request cannot run.
¿Cómo añado créditos?
Open Billing in the console to buy credits and view your balance, payments and usage. Credits become available after payment confirmation.
¿Puedo enviar archivos locales?
Upload them with POST /api/v1/media and put the returned media:<uuid> reference in the model's image, video or audio field. Public HTTPS URLs also work.