Image Endpoints
Last updated
Last updated
GET
https://api.bytestobits.dev/v1/image/mask
Mask an image.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.bytestobits.dev/v1/image/recolor
Swap the color of an image with another.
Name | Type | Description |
---|---|---|
GET
https://api.bytestobits.dev/v1/image/resize
Resize an image.
GET
https://api.bytestobits.dev/v1/image/transparent
Remove a color from an image.
GET
https://api.bytestobits.dev/v1/image/discord_faker
Generate a fake discord message.
GET
https://api.bytestobits.dev/v1/image/dominant
Get the dominant color of an image.
GET
https://api.bytestobits.dev/v1/image/filter/blackwhite
Turn an image into black and white.
GET
https://api.bytestobits.dev/v1/image/filter/enhance
Enhance an image.
GET
https://api.bytestobits.dev/v1/image/filter/hueshift
Hueshift an image.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization*
String
Your API Key
image*
File
Image to mask
mask*
File
Black-white image to use as mask
Authorization*
String
Your API Key
image*
File
Image to recolor
from_color*
String
The hex color to replace
to_color*
String
The replacing color hex
strength
Integer
The similar-shaded colors to include (Defaults: 20)
Authorization*
String
Your API Key
image*
File
Image to resize
width*
Integer
New image width
height*
Integer
New image height
Authorization*
String
Your API Key
image*
File
Image to resize
color*
String
The color hex to make transparent
strength
Integer
The similar-shaded colors to include (Defaults: 20)
Authorization*
String
Your API Key
username*
String
Username to use
text*
String
Content of the message
avatar
File
Avatar of the user
user_color*
String
Color hex for the username
date*
String
Date to use (such as Today at 03:52 PM)
Authorization*
String
Your API Key
image*
File
Image to get the dominant color of
Authorization*
String
Your API Key
image*
File
Image to remove the color from
Authorization*
String
Your API Key
image*
File
Image to enhance
color
Float
Value to increase the intensity of the image colors (Defaults: 0)
brightness
Float
Value to increase the brightness of the image (Defaults: 0)
sharpness
Float
Value to increase the sharpness of the image colors (Defaults: 0)
contrast
Float
Value to increase the contrast of the image (Defaults: 0)
Authorization*
String
Your API Key
image*
File
Image to enhance
deg
Float
Degrees to rotate the hue of the image (Defaults: 20)