Foto a pintura API

Transforma fotos en obras de arte con múltiples estilos artísticos, incluyendo caricatura, boceto a lápiz, pintura al óleo gótica y más con nuestra API de Foto a Pintura.

Nuestra API de Foto a Pintura ofrece una solución versátil para convertir fotos en varios estilos artísticos, proporcionando a los usuarios una gama de opciones creativas. Esta API admite transformaciones en nueve estilos únicos, incluyendo caricatura, boceto a lápiz, boceto a lápiz de color, pintura al óleo gótica, pintura al óleo de colores de caramelo, pintura al óleo de El Grito, pintura al óleo de La Gran Olas de Kanagawa, pintura al óleo caprichosa y pintura al óleo de lavanda. Perfecta para actividades divertidas, filtros de redes sociales y mejorar aplicaciones de edición de fotos, esta herramienta permite a los usuarios aplicar sin esfuerzo efectos artísticos a sus imágenes. Integra nuestra API de Foto a Pintura en tu aplicación para ofrecer a los usuarios una función atractiva y creativa para transformar sus fotos en obras de arte cautivadoras. Mejora tu plataforma con esta poderosa herramienta de transformación de imágenes artísticas, proporcionando resultados de alta calidad y visualmente impresionantes que seguramente deleitarán e inspirarán a los usuarios.

Escenarios de Aplicación

  • Procesamiento Divertido de Imágenes: Integra el servicio en la aplicación Meitu, páginas de actividades divertidas y más. Simplemente sube una imagen y conviértela instantáneamente en un estilo de caricatura o boceto para disfrutar de los diversos estilos de la imagen original.

Renderización

Imagen Original

Imagen Original

opción=caricatura

opción=caricatura

opción=lápiz

opción=lápiz

opción=lápiz_color

opción=lápiz_color

opción=cálido

opción=cálido

opción=ola

opción=ola

opción=lavanda

opción=lavanda

opción=mononoke

opción=mononoke

opción=grito

opción=grito

opción=gótico

opción=gótico

Documentación de la API

Endpoints


Transforma fotos en obras de arte con múltiples estilos artísticos, incluidos caricatura, boceto a lápiz, pintura al óleo gótica y más con nuestra API de Foto a Pintura.

Solicitud

Requisitos de imagen

  • Formato de imagen: PNG, JPG, JPEG, BMP
  • Tamaño de imagen: No más de 8 MB.
  • Resolución de imagen: Mayor que 10x10px, menor que 5000x5000px.
  • Relación de aspecto de imagen: Relación de aspecto dentro de 4:1.

Cuerpo

Campo Requerido Tipo Ámbito Descripción
image file    
option string
  • caricatura
  • lápiz
  • lápiz_color
  • cálido
  • ola
  • lavanda
  • mononoke
  • grito
  • gótico
  • caricatura: Estilo de caricatura.
  • lápiz: Estilo de lápiz.
  • lápiz_color: Estilo de dibujo a lápiz de colores.
  • cálido: El estilo de pintura al óleo de cubos de azúcar coloridos.
  • ola: Estilo de pintura al óleo en surf en Kanagawa.
  • lavanda: Estilo de pintura al óleo de lavanda.
  • mononoke: Estilo de pintura al óleo extraño.
  • grito: Estilo de pintura al óleo de grito.
  • gótico: Estilo de pintura al óleo gótica.

Respuesta

Parámetros Públicos

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

Parámetros de Negocio

Campo Tipo Descripción
image string Imagen codificada en Base64.

Ejemplo

{
  "request_id":     "",
  "log_id":         "",
  "error_code":     0,
  "error_code_str": "",
  "error_msg":      "",
  "error_detail":   {
    "status_code":  200,
    "code":         "",
    "code_message": "",
    "message":      ""
  },
  "image":          ""
}


                                                                            
POST https://zylalabs.com/api/4432/photo+to+painting+api/5446/photo+to+painting
                                                                            
                                                                        

Foto a Pintura - Características del Endpoint

Objeto Descripción
option [Requerido] `cartoon`: Cartoon style. `pencil`: Pencil style. `color_pencil`: Color pencil drawing style. `warm`: The style of colorful sugar cube oil painting. `wave`: Oil painting style in surfing in Kanagawa. `lavender`: Lavender oil painting style. `mononoke`: Strange oil painting style. `scream`: Scream oil painting style. `gothic`: Gothic oil painting style.
Cuerpo de la Solicitud [Requerido] Archivo Binario
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"error_code":0,"error_detail":{"status_code":200,"code":"","code_message":"","message":""},"image":"\/9j\/4AAQSkZJRgABAQAAAQABAAD\/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH\/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE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/mXTk+T5+f8An5wSOoAOSPlxjmvbtGX7Dr2i31r5d7d6Rba\/pdggi\/cTaiRq\/wDZNsD6\/bdV0k8jufw8Dvry4uGiWSYlRuk8mM4giJuGBAtsYB9s5I5IxyfqT4ZaY+qa\/oGuyOZNL0vWbfWpYkOTeagRo1npFpkDpqWu2ulafn6Y756cbLko88rfDJJdHpot18TdrXtttqycFF1akYR1vNedldJv8Xf5+Z+uf7N\/gW+1OT4caHp0scNtZ+I7nWddkkm+0XH9j+AtB1jxJZm86kHUvFek\/wBnDGSBrBB7k+4fG7xLcWPhjxx4iP8AosXh7wrdWuiyxy2lx5\/225svtl1aXg44sSNPzqQwRrHQf2aSOr\/Z68MaTofhOTxFZ3UcDCz0\/wAJWlz9k5u59ZszZ3eDng\/btWu9S9joy9QMV8P\/ALX\/AI61G28FxaHpkkkmk+KvFWo6ZpU8R6eHvDY0YC7x0Uajrl3rGo9cnSr2w9iPzSdGWJxlFNNL2ybbvraSk9XprH3VdNSWis9V+t0KsMFl9SV270JRSSVlJ04xjZ9WubTfrfRWPzy8L3Pma3d+JLyD7UdJhuLyXv5xvTeDv0\/08gkYAxkV49oE0mreKdauZB8smoBItmRlbW5DXeCpPVSD+Oc8ivcJbm28P+HPFF15PyNbavBDLnyBLbaPoIsLoADn\/iY35uuMjqc+o8f+Ctv5+pwSTYcAX9\/L5mMTQWotG7ng\/wCi3YPPtjHX6qnZYfH4hK0YzjRp22tGMZtJL4Xd+9tuk9rnw9eP+0YDDt3lUgq9R9XJ1HHXZPSKd\/VH6bfBPT\/tGpacYY5Hks5BD6AW+TjA7Dtzz3xiv1YsbGNfDsVtbebvxj93EcwfYsfYzyOo546E8EjANfmx+zvoQvWSH53Ml1bzGQ5g87A4xyT06f7XHJr9g\/DlrYWGlrfatJb2Wk2eZZpZZe\/HOB7849egNfnmOlOVdxipSteyW7vy2unfq9PNO\/W365kcaVPDUnOShdJt6K1kl
                                                                                                                                                                                                                    
                                                                                                    

Photo to Painting - CÓDIGOS DE EJEMPLO


    curl --location 'https://zylalabs.com/api/4432/photo+to+painting+api/5446/photo+to+painting?option=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 Foto a pintura 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

Foto a pintura API FAQs

Nuestra API de Foto a Pintura ofrece una solución versátil para convertir fotos en varios estilos artísticos, proporcionando a los usuarios una gama de opciones creativas. Esta API soporta transformaciones en nueve estilos únicos, incluyendo cartoon, boceto a lápiz, boceto a lápiz de colores, pintura al óleo gótica, pintura al óleo de colores brillantes, pintura al óleo El Grito, pintura al óleo La Gran Ola de Kanagawa, pintura al óleo caprichosa y pintura al óleo de lavanda. Perfecta para actividades divertidas, filtros de redes sociales y mejorar aplicaciones de edición de fotos, esta herramienta permite a los usuarios aplicar sin esfuerzo efectos artísticos a sus imágenes.

Decoración del Hogar: Creando piezas de arte personalizadas a partir de fotos personales para decorar hogares y añadir un toque personal a los interiores. Regalos: Transformando fotos queridas en pinturas como regalos únicos y sentimentales para amigos y familiares. Comisiones de Arte: Proporcionando a los clientes obras de arte personalizadas basadas en sus fotos favoritas. Negocio de Fotografía: Ofreciendo a los clientes la opción de transformar sus fotos en pinturas artísticas como parte de los paquetes de fotografía. Cubiertas de Libros y Álbumes: Diseñando cubiertas únicas de libros o álbumes con una estética pintada derivada de fotografías. Contenido para Redes Sociales: Generando contenido visualmente atractivo y artístico para publicaciones en redes sociales.

Atractivo Artístico: Transforma fotos ordinarias en hermosas obras de arte pictóricas, mejorando su impacto visual y emocional. Personalización: Ofrece varios estilos y efectos de pintura, permitiendo la personalización según las preferencias individuales y los gustos artísticos. Versatilidad: Adecuado para varios tipos de fotos, incluyendo retratos, paisajes y naturalezas muertas. Alta Calidad: Produce pinturas de alta calidad y apariencia profesional que se pueden imprimir y exhibir. Eficiencia Temporal: Transforma rápidamente las fotos en pinturas, ahorrando tiempo en comparación con los métodos tradicionales pintados a mano. Consistencia: Asegura resultados consistentes y confiables en diferentes fotos y estilos.

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/image-style-transfer-example.

Sí, tenemos una [documentación de API](https://www.ailabtools.com/doc/ai-image/effects/image-style-conversion/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 de Foto a Pintura devuelve una respuesta JSON que contiene una imagen codificada en Base64 de la obra de arte transformada, junto con metadatos como el ID de la solicitud, el ID del registro y códigos de error para indicar el éxito o el fracaso de la solicitud.

Los campos clave en la respuesta incluyen `request_id`, `log_id`, `error_code`, `error_msg` y `image`. El campo `image` contiene la obra de arte codificada en Base64, mientras que los campos de error proporcionan información sobre cualquier problema encontrado durante el procesamiento.

El endpoint acepta dos parámetros: `image`, que es el archivo de foto a ser transformado, y `option`, que especifica el estilo artístico (por ejemplo, cartoon, lápiz, gótico). Ambos parámetros son requeridos para una solicitud exitosa.

Los datos de respuesta están estructurados en un formato JSON. Incluye un objeto de nivel superior con parámetros públicos (como `request_id` y `log_id`) y una sección de `parámetros de negocio` que contiene la imagen transformada en formato Base64.

La API proporciona información sobre la imagen transformada, incluyendo su estilo artístico y cualquier mensaje de error si la transformación falla. Permite a los usuarios personalizar sus solicitudes según el efecto artístico deseado.

Los usuarios pueden decodificar la imagen codificada en Base64 del campo `image` para mostrar o guardar la obra de arte. Los campos de error pueden ayudar a diagnosticar problemas, permitiendo a los usuarios ajustar sus solicitudes en consecuencia.

Los valores aceptados para el parámetro `option` incluyen: `caricatura`, `lápiz`, `lápiz_de_color`, `cálido`, `ola`, `lavanda`, `mononoke`, `grito` y `gótico`. Cada valor corresponde a un estilo específico de transformación artística.

La API emplea algoritmos avanzados de procesamiento de imágenes para garantizar transformaciones de alta calidad. Se realizan actualizaciones regulares y controles de calidad para mantener la precisión y fiabilidad de los estilos artísticos ofrecidos.

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