Our Color Migration API provides a sophisticated solution for transforming the colors of your images either automatically or based on a specified color palette. This advanced API ensures that visual hotspots within the image are preserved and not improperly altered during the color transformation process. Ideal for photographers, graphic designers, and digital content creators, this tool allows for seamless color transitions, enhancing the visual appeal and consistency of your images. Whether you want to apply a new color scheme to your photos or ensure color consistency across a series of images, our Color Migration API offers the precision and flexibility needed to achieve stunning results. Integrate this powerful API into your workflow to effortlessly achieve vibrant and accurate color transformations, enhancing the overall aesthetic quality of your visuals.
Enter the number of results to be expanded, that is, the number of expanded color systems. The algorithm calculates the uniform sampling method according to the color space, and gives the results that meet the requirements of the number of expanded colors. Simply put, the number of color systems is how many, and a few pictures are output.
For example, 【Before processing】【`color_count`=`1`】【`color_count`=`4`】. The result is as follows:
Input a set of color lists (color swatches), and the algorithm uses the swatches as the main color to expand the original image. This mode provides greater color control. The length of the color list must not exceed the specified value.
For example, 【`color_template`="#DB0D0D,#0E0CBB,#FF0000"】. The color extension result is as follows:
Automatically transform image colors or use a specified palette while preserving visual hotspot integrity with our Color Migration API.
Field | Required | Type | Scope | Description |
---|---|---|---|---|
image |
YES | file |
||
mode |
YES | string |
|
Color extension mode.
|
mode
=== AUTOField | Required | Type | Scope | Defaults | Description |
---|---|---|---|---|---|
color_count |
NO | integer |
1 to 8 | 1 | Expand the number of color families. |
mode
=== TEMPLATEField | Required | Type | Example | Description |
---|---|---|---|---|
color_template |
YES | string |
056A6B,0A0B0C | Color palette topology, Top master color list, color value definition ARGB. e.g. 0A0B0C, array size [1, 7]. |
mode
=== REF_PICField | Required | Type | Description |
---|---|---|---|
ref |
YES | file |
Reference image. |
Viewing Public Parameters and Error Codes
Field | Type | Description |
---|---|---|
data |
object |
The content of the result data returned. |
+image_list |
array of string |
The URL address of the image after the coloring is completed, and the image format is PNG. |
The URL address is a temporary address, valid for 24 hours, and will not be accessible after it expires. If you need to save the file for a long time or permanently, please visit the URL address within 24 hours and download the file to your own storage space.
{
"request_id": "",
"log_id": "",
"error_code": 0,
"error_code_str": "",
"error_msg": "",
"error_detail": {
"status_code": 200,
"code": "",
"code_message": "",
"message": ""
},
"data": {
"image_list": [
"https://www.ailabtools.com/logo.webp"
]
}
}
Color Migration for AUTO - Endpoint Features
Object | Description |
---|---|
color_count |
[Optional] Expand the number of color families. `1` `2` `3` `4` `5` `6` `7` `8` |
Request Body |
[Required] File Binary |
{"data":{"image_list":["https:\/\/ai-result-rapidapi.ailabtools.com\/image\/recolorImage\/2024-06-18\/140310-2cfae6f5-94c0-a9c5-e101-14013e410942-1718719390.png"]},"error_code":0,"error_detail":{"status_code":200,"code":"","code_message":"","message":""},"log_id":"B5048B84-5FB5-53B7-BBB5-95727335732C","request_id":"B5048B84-5FB5-53B7-BBB5-95727335732C"}
curl --location 'https://zylalabs.com/api/4435/color+migration+api/5447/color+migration+for+auto?color_count=2' \
--header 'Content-Type: application/json' \
--form 'image=@"FILE_PATH"'
Automatically transform image colors or use a specified palette while preserving visual hotspot integrity with our Color Migration API.
Field | Required | Type | Scope | Description |
---|---|---|---|---|
image |
YES | file |
||
mode |
YES | string |
|
Color extension mode.
|
mode
=== AUTOField | Required | Type | Scope | Defaults | Description |
---|---|---|---|---|---|
color_count |
NO | integer |
1 to 8 | 1 | Expand the number of color families. |
mode
=== TEMPLATEField | Required | Type | Example | Description |
---|---|---|---|---|
color_template |
YES | string |
056A6B,0A0B0C | Color palette topology, Top master color list, color value definition ARGB. e.g. 0A0B0C, array size [1, 7]. |
mode
=== REF_PICField | Required | Type | Description |
---|---|---|---|
ref |
YES | file |
Reference image. |
Viewing Public Parameters and Error Codes
Field | Type | Description |
---|---|---|
data |
object |
The content of the result data returned. |
+image_list |
array of string |
The URL address of the image after the coloring is completed, and the image format is PNG. |
The URL address is a temporary address, valid for 24 hours, and will not be accessible after it expires. If you need to save the file for a long time or permanently, please visit the URL address within 24 hours and download the file to your own storage space.
{
"request_id": "",
"log_id": "",
"error_code": 0,
"error_code_str": "",
"error_msg": "",
"error_detail": {
"status_code": 200,
"code": "",
"code_message": "",
"message": ""
},
"data": {
"image_list": [
"https://www.ailabtools.com/logo.webp"
]
}
}
Color Migration for TEMPLATE - Endpoint Features
Object | Description |
---|---|
color_template |
[Required] Color palette topology, Top master color list, color value definition ARGB. e.g. 0A0B0C, array size [1, 7]. |
Request Body |
[Required] File Binary |
{"data":{"image_list":["https:\/\/ai-result-rapidapi.ailabtools.com\/image\/recolorImage\/2024-06-15\/091335-cd36d966-1a9b-9a43-5c8b-2220e50b639b-1718442815.png"]},"error_code":0,"error_detail":{"status_code":200,"code":"","code_message":"","message":""},"log_id":"995F3DA0-042D-52B2-8CF1-4570728C19FB","request_id":"995F3DA0-042D-52B2-8CF1-4570728C19FB"}
curl --location 'https://zylalabs.com/api/4435/color+migration+api/5448/color+migration+for+template?color_template=Required' \
--header 'Content-Type: application/json' \
--form 'image=@"FILE_PATH"'
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Our Color Migration API provides a sophisticated solution for transforming the colors of your images either automatically or based on a specified color palette. This advanced API ensures that visual hotspots within the image are preserved and not improperly altered during the color transformation process. Ideal for photographers, graphic designers, and digital content creators, this tool allows for seamless color transitions, enhancing the visual appeal and consistency of your images.
Graphic Design: Transferring color schemes from one image to another to maintain brand consistency or achieve a specific aesthetic in design projects. Film and Video Production: Ensuring color consistency across different scenes or shots by migrating colors from a reference frame. Fashion and Interior Design: Applying color schemes from inspiration images to design projects, such as clothing collections or room decor. E-commerce: Ensuring that product images match the color themes of a website or catalog for a harmonious visual presentation. Artistic Projects: Experimenting with color palettes from famous artworks or nature to create unique artistic pieces.
Consistency: Ensures color consistency across different images or elements, maintaining a unified visual identity. Creativity: Allows for creative experimentation with color palettes, enabling unique and visually striking results. Versatility: Applicable to various fields, including graphic design, photography, film production, marketing, fashion, and interior design. Efficiency: Saves time by automating the process of color matching and application, compared to manual adjustments. High Quality: Produces professional-looking results with accurate and appealing color transitions.
Yes, we do have more detailed [API documentation](https://www.ailabtools.com/doc/ai-image/effects/image-color-migration/api-marketplace) available. You can access it on our website or by contacting our support team for assistance.
Design Professionals: Graphic designers, interior designers, and fashion designers who are keen on understanding and applying color trends in their work. Art Enthusiasts and Educators: People with a deep interest in color theory, art students, and educators looking to expand their knowledge and teaching materials. Product Developers and Manufacturers: Those in industries such as textiles, consumer goods, and technology who want to ensure their products align with current and future color trends. General Public with an Interest in Color Trends: Individuals who enjoy following color trends for personal projects, home decoration, or simply out of curiosity.
Each endpoint returns a JSON object containing a `data` field, which includes an `image_list` array. This array contains URLs of the transformed images in PNG format, generated based on the specified color transformation mode.
The key fields in the response data include `request_id`, `log_id`, `error_code`, `error_msg`, and `data`. The `data` field specifically contains the `image_list`, which holds the URLs of the processed images.
The endpoints accept parameters such as `image` (the image file), `mode` (AUTO, TEMPLATE, REF_PIC), and additional parameters like `color_count` for AUTO mode or `color_template` for TEMPLATE mode, allowing users to customize their requests.
The response data is organized in a structured JSON format. It includes public parameters for request tracking and error handling, followed by business parameters that contain the result data, specifically the `image_list` with URLs of the processed images.
Typical use cases include applying a new color scheme to images for branding, ensuring color consistency across product images, and experimenting with artistic color palettes for creative projects. Users can leverage the API to enhance visual appeal in various fields.
Users can utilize the returned data by accessing the URLs in the `image_list` to download or display the transformed images. It's important to note that these URLs are temporary and valid for 24 hours, so timely access is essential.
The `color_count` parameter, applicable in AUTO mode, accepts integer values ranging from 1 to 8. This parameter determines how many color families will be expanded in the transformation process.
Data accuracy is maintained through advanced algorithms that ensure visual hotspots are preserved during color transformations. The API's design focuses on maintaining the integrity of the original image while applying the specified color changes.
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.
Service Level:
100%
Response Time:
4,452ms
Service Level:
100%
Response Time:
359ms
Service Level:
100%
Response Time:
648ms
Service Level:
83%
Response Time:
1,167ms
Service Level:
100%
Response Time:
657ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
273ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
0ms