Documentación
Inicio Rápido
Comienza con la API de Renderful en minutos. Sigue estos pasos para realizar tu primera solicitud de API.
1. Obtén tu Clave API
Create an API key from the página de Claves API. Keep this key secure and never expose it in client-side code.
2. Realiza tu primera solicitud
curl -X POST https://api.renderful.ai/api/v1/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "text-to-image",
"model": "flux-dev",
"prompt": "A beautiful sunset over mountains"
}'3. Maneja la respuesta
{
"id": "gen_abc123",
"status": "processing",
"model": "flux-dev",
"created_at": "2024-01-15T10:30:00Z"
}Consulta el estado de la generación o configura un webhook para ser notificado cuando se complete.