Hazte un dibujo animado. API

Convierte fotos en varios estilos de dibujos animados con nuestra API Cartoon Yourself, que cuenta con efectos avanzados de juegos en 3D y transformaciones de bocetos de alta calidad.

Documentación de la API

Endpoints


Convierte fotos en varios estilos de dibujos animados con nuestra API Cartoon Yourself, que presenta efectos avanzados de juegos en 3D y transformaciones de bocetos de alta calidad.

Solicitud

Requisitos de imagen

  • Formato de imagen: JPEG JPG PNG
  • Tamaño de imagen: No más de 3 MB.
  • Resolución de imagen: Mayor a 100x100px, menor a 2000x2000px.

Cuerpo

Campo Requerido Tipo Alcance
image file  
type string Detalles

type

Categoría tipo Descripción
Cartoonización de Cuerpo Completo jpcartoon Manga Japonés (I)
anime Manga Japonés (II)
claborate Pintura china de pincel fino
hongkong Estilo de cómic de Hong Kong
comic Cómic
animation3d Animación en 3D
handdrawn dibujado a mano
sketch Dibujo a lápiz (I)
full Dibujo a lápiz (II)
artstyle Efectos artísticos
classic_cartoon Dibujo Animado Retro
tccartoon Manga Moe
hkcartoon Cómics de China
Cartoonización Facial 3d_cartoon Dibujo animado en 3D
pixar Pixar
pixar_plus Pixar Pro
angel Ángel
angel_plus Ángel Pro
demon Demonio
ukiyoe_cartoon Ukiyo-e
amcartoon Manga Americana
3d Efectos 3D
3d_game Efectos de juegos en 3D
Cartoonización de Avatar wester Occidental
avatar Avatar
head Dibujo a lápiz (cabeza)

Respuesta

Parámetros Públicos

Ver Parámetros Públicos y Códigos de Error

Parámetros Comerciales

Campo Tipo Descripción
data object El contenido de los datos del resultado devueltos.
+image_url string Dirección URL de la imagen resultante.

La dirección URL es una dirección temporal, válida por 24 horas, y no será accesible después de que expire. Si necesita guardar el archivo por un largo tiempo o permanentemente, visite la dirección URL dentro de las 24 horas y descargue el archivo en su propio espacio de almacenamiento.



                                                                            
POST https://zylalabs.com/api/4444/cartoon+yourself+api/5457/cartoon+yourself
                                                                            
                                                                        

Hazte un dibujo animado. - Características del Endpoint

Objeto Descripción
type [Requerido] Cartoon effect. - `jpcartoon`: Japanese Manga (I) - `anime`: Japanese Manga (II) - `claborate`: Chinese fine brushwork painting - `hongkong`: Hong Kong-style comic style - `comic`: Comic - `animation3d`: 3D Animation - `handdrawn`: hand-painted - `sketch`: Pencil drawing (I) - `full`: Pencil drawing (II) - `artstyle`: Artistic effects - `classic_cartoon`: Retro Cartoon - `tccartoon`: Moe Manga - `hkcartoon`: China Comics - `3d_cartoon`: 3D cartoon - `pixar`: Pixar - `pixar_plus`: Pixar Pro - `angel`: Angel - `angel_plus`: Angel Pro - `demon`: Demon - `ukiyoe_cartoon`: Ukiyo-e - `amcartoon`: American Manga - `3d`: 3D Effects - `3d_game`: 3D game effects - `western`: Western - `avatar`: Avatar - `head`: Pencil drawing (head)
Cuerpo de la Solicitud [Requerido] Archivo Binario
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"image_url":"https:\/\/ai-result-rapidapi.ailabtools.com\/faceBody\/generateHumanAnimeStyle\/2024-06-29\/113211-0c4670a4-e394-096e-b1b4-7002d0c3cee7-1719660731.jpeg"},"error_code":0,"error_detail":{"status_code":200,"code":"","code_message":"","message":""},"log_id":"20240629193209DC03C31A8E6F239D1456","request_id":"20240629193209DC03C31A8E6F239D1456"}
                                                                                                                                                                                                                    
                                                                                                    

Cartoon Yourself - CÓDIGOS DE EJEMPLO


    curl --location 'https://zylalabs.com/api/4444/cartoon+yourself+api/5457/cartoon+yourself?type=Required' \
    --header 'Content-Type: application/json' \ 
    --form 'image=@"FILE_PATH"'


Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Hazte un dibujo animado. API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10,000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Hazte un dibujo animado. API FAQs

La API Cartoon Yourself permite a los usuarios transformar fotos personales en cautivadoras imágenes de dibujos animados y ofrece efectos artísticos avanzados. Al aprovechar la tecnología GAN de vanguardia, esta API puede convertir rostros y imágenes enteras en impresionantes estilos de juegos en 3D, añadiendo profundidad y realismo espacial, perfectos para exposiciones de juegos, eventos de cosplay y torneos de videojuegos a gran escala. Ideal para crear avatares personalizados, mejorar el marketing interactivo y añadir un toque artístico al contenido digital, la API Cartoon Yourself ofrece integración fluida, alto rendimiento y escalabilidad excepcional.

Redes Sociales: Creando imágenes de perfil únicas y atractivas o contenido para plataformas de redes sociales. Aplicaciones de Mensajería: Generando avatares divertidos y personalizados para su uso en aplicaciones de mensajería y comunicación en línea. Marketing y Publicidad: Diseñando materiales promocionales o anuncios distintivos con avatares de dibujos animados. Regalos y Mercancía: Creando retratos de dibujos animados personalizados para regalos personalizados, como tazas, camisetas y carteles. Diseño Gráfico: Mejorando proyectos de diseño gráfico con representaciones de dibujos animados de individuos. Entretenimiento: Desarrollando personajes animados para juegos, videos o experiencias de realidad virtual.

Creatividad: Permite a los usuarios expresar su personalidad y creatividad a través de avatares de dibujos animados únicos. Versatilidad: Aplicable a una amplia gama de usos, desde entretenimiento personal hasta marketing y branding profesional. Alta calidad: Produce imágenes de dibujos animados de alta calidad y visualmente atractivas que se pueden usar en diversos formatos y contextos. Accesibilidad: Facilita a los usuarios de todos los niveles de habilidad crear dibujos animados de aspecto profesional sin necesidad de habilidades avanzadas en diseño gráfico. Divertido y atractivo: Agrega un elemento de diversión a proyectos personales y profesionales, haciéndolos más agradables y memorables.

Hemos diseñado una página de experiencia dedicada para usuarios desarrolladores. Puedes visitar la página de experiencia para probar el producto de forma gratuita: https://www.ailabtools.com/portrait-cartoonization-example .

Sí, tenemos una [documentación de API](https://www.ailabtools.com/doc/ai-portrait/effects/portrait-animation/api-marketplace) más detallada disponible. Puedes acceder a ella en nuestro sitio web o contactando a nuestro equipo de soporte para obtener ayuda.

La API Cartoon Yourself devuelve un objeto JSON que contiene la URL de la imagen transformada y metadatos sobre la solicitud. Los campos clave incluyen `request_id`, `log_id`, `error_code` y `data`, donde `data` contiene la `image_url` de la imagen convertida en caricatura.

Los datos de respuesta están estructurados como un objeto JSON con parámetros públicos (como `request_id` y `error_code`) y parámetros comerciales. El campo `data` contiene la URL de la imagen resultante, que es temporal y válida por 24 horas.

El punto final acepta dos parámetros: `image` (la foto que se va a transformar en un dibujo animado) y `type` (el estilo de cartoonización). El parámetro `type` puede tomar valores como `jpcartoon`, `pixar` o `3d_cartoon`, entre otros.

Los usuarios pueden personalizar sus solicitudes seleccionando el estilo de caricatura deseado a través del parámetro `type` y proporcionando una imagen que cumpla con los requisitos especificados (formato JPEG, JPG o PNG, inferior a 3 MB y dentro de los límites de resolución).

En la respuesta, `error_code` indica el éxito o fracaso de la solicitud (0 significa éxito), mientras que `image_url` proporciona el enlace a la imagen de caricatura generada. Otros campos como `request_id` y `log_id` ayudan a rastrear la solicitud con fines de depuración.

La API proporciona información sobre la imagen caricaturizada, incluyendo la URL de la imagen resultante y mensajes de error si la solicitud falla. También incluye metadatos como IDs de solicitud para el seguimiento.

Los casos de uso típicos incluyen la creación de avatares personalizados para redes sociales, la generación de materiales promocionales únicos y el aumento de la participación del usuario en campañas de marketing al proporcionar imágenes de dibujos animados divertidas e interactivas.

La precisión de los datos se mantiene mediante tecnología GAN avanzada, que garantiza transformaciones de alta calidad. Las actualizaciones continuas de los algoritmos también ayudan a mejorar la precisión y la variedad de estilos de dibujos animados disponibles.

General FAQs

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


APIs Relacionadas


También te puede interesar