Welcome to the Edit Bot Docs!

These docs will guide you on how to use the edit bot for EFIO affiliated pages.


Basic Structure:

The basic structure is as follows:

!{command} {option_name} {option_value},{command},{command}

For Example:

Rules: - All commands are seperated by a comma - All options for commands are delimited by spaces - You'll specify the name of the param, then the value with a space afterwards.

The commands will be processed in the order specified, meaning edits are consecutively applied.

Some filters have special requirements:


GIF Commands

GIF Commands allow you to edit GIFs similar to how you'd edit photos!

Start your command with !gif to start.

Once you do that, you'll be able to edit the gif using the following commands:


!vote - ONLY ALLOWED ONCE PER COMMAND

Vote for a frame for Frame of the Year!


!sub - ONLY ALLOWED ONCE PER COMMAND

This function adds the subtitle on top of any existing filters


!blank (aliases: !notext, !empty)

This function will give the frame without the subtitle


Grid !grid - ONLY ALLOWED ONCE PER COMMAND

Lays a grid over a frame. Helpful for determining where to apply an effect

Parameters

Parameter Type Default Description
vg int 500 The spacing between each vertical grid marker (min: 100)
hg int 500 The spacing between each horizontal grid marker (min: 100)
lw int 1 The width of the line for the grid (max: 10)

Invert Colors !i (aliases: !invert, !inverted) - ONLY ALLOWED ONCE PER COMMAND

This function inverts the colors of the frames


Mirror !m (aliases: !mirror)

This function mirrors an image at a place in the specified direction

Parameters

Parameter Type Default Description
r int or bool false Whether to mirror the right to the left.
l int or bool true Whether to mirror the left to the right.
t int or bool false Whether to mirror the top to the bottom.
b int or bool false Whether to mirror the bottom to the top.
x int frame_width / 2 X Coordinate to start the cropped mirror portion
y int frame_height / 2 Y Coordinate to start the cropped mirror portion
w int None Cropped Mirror Portion Width (defaults to x - frame_width)
h int None Cropped Mirror Portion Height (defaults to y - frame_height)

NOTE: ONLY ONE DIRECTION CAN BE SPECIFIED - IF MULTIPLE DIRECTIONS ARE USED, THEN IT WILL MIRROR LEFT


Flip !f (aliases: !flip)

This function flips an image in the specified direction

Parameters

Parameter Type Default Description
v int or bool false Whether to flip verticaly
h int or bool true Whether to flip horizontally

Bulge/Pinch !bulge - ONLY ALLOWED ONCE PER COMMAND

This function bulges or pinches an image at a specified location

Parameters

Parameter Type Default Description
cx int width // 2 The x-coordinate of the center of the bulge/pinch effect. If not specified, the center of the image width will be used.
cy int height // 2 The y-coordinate of the center of the bulge/pinch effect. If not specified, the center of the image height will be used.
b int Buldge amount - Positive values bulge the image, Negative values pinch the image (max: 100 - min: -100)

Painting Filter !p

This function makes the frame look like a painting.

Parameters

Parameter Type Default Description
s int 10 What size to make the "blotches" of paint - (max: 15)

Kaleidoscope !k - ONLY ALLOWED ONCE PER COMMAND

This function applies a kaleidoscope effect to an image based on the provided parameters.

Parameters

Parameter Type Default Description
cx int width // 2 The x-coordinate of the center of the kaleidoscope effect. If not specified, the center of the image width will be used.
cy int height // 2 The y-coordinate of the center of the kaleidoscope effect. If not specified, the center of the image height will be used.
r int min(width, height) // 2 The radius of the kaleidoscope effect.
s int 20 The number of segments or slices in the kaleidoscope pattern.

Palette !palette

This function displays the palette of an image with up to 10 colors

Parameters

Parameter Type Default Description
c int 5 The colors to include in the pallete (max: 10)

Crop !crop

This function crops an image frame based on the provided parameters.

Parameters

Parameter Type Default Description
x int 0 The x-coordinate of the top-left corner of the crop.
y int 0 The y-coordinate of the top-left corner of the crop.
w int 400 The width of the crop.
h int 400 The height of the crop.

Radial Blur !rb (aliases: !rblur, !blur)

This function applies a radial blur to an image frame based on the provided parameters.

Parameters

Parameter Type Default Description
cx int 0 The x-coordinate of the center of the radial blur. If not specified, the center of the frame width will be used.
cy int 0 The y-coordinate of the center of the radial blur. If not specified, the center of the frame height will be used.
r int 0 The radius of the radial blur. If not specified, the smaller of half the frame width or half the frame height will be used.
b int 20 The amount of blur to apply. This should ideally be an odd number. If an even number is provided, it will be incremented by 1 to make it odd.
ur int 5 The unblurred radius. This is the radius within which no blur is applied.

Remove Background !removebg (aliases: !bg)

This function removes the background from an image frame based on the provided parameters.

Parameters

Parameter Type Default Description
am bool True Whether to use alpha matting. If it's a string, it should be 'true' or 'false' (case insensitive).
abt int 10 Alpha matting background threshold. If it's a string, it should be convertible to an integer. This value is used to distinguish the background from the foreground. Lower values will make the background removal more aggressive, which could remove parts of the actual object in the frame.
aft int 190 Alpha matting foreground threshold. If it's a string, it should be convertible to an integer. This value is used to identify the foreground from the background. Higher values will make the background removal less aggressive, which could leave parts of the background in the frame.

Black and White !bw - ONLY ALLOWED ONCE PER COMMAND

This function converts an image frame to black and white.


!comic (aliases !c)

This one requires an understanding of what frames you want to use. YOU CAN NOT USE THE FRAME COUNTS FROM OUR WEBSITE

This command will create a comic from multiple frame edits. It will override any other command in your comment. You cannot edit a comic.

You are limited to 6 frames.

Specify your comic like this:

!comic[(SXEXFX)+command[param=value]+(SXEXFX)] -> !comic[(S1E1F1)+m[t=1]+f[h=1]+(S1E1F2)+(S1E1F3)+bulge[b=100]]

Let's break this down:

!comic: The command (SXEXFX): A frame from an episode specified as a number - it can be 0 padded, and is case insensitive. command[param=value]: A typical command you'd use on a normal frame

You can also specify no edits to a frame and just add + to continue.