These docs will guide you on how to use the edit bot for EFIO affiliated pages.
The basic structure is as follows:
!{command} {option_name} {option_value},{command},{command}
!invert,f v,m
: Inverts an image, flips it vertically, then mirrors it over the center line!gif
: Create a GIF!bw,f v
: Turns the image black and white, then flips it verticallyRules: - 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:
removebg
is ONLY possible at the end of your filter list!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:
sub
- Add the Subtitle(s) to the framefps [int]
- Change the FPS of the GIF (max: 10)l [int]
- Make the GIF a custom lengthinvert
- Invert the colors of the GIFr
- Reverse the GIFb
- "Boomerang" the GIF - meaning it will play one time forward and then reverse back to start.bw
- Change the colors of the GIF to black and whitecrop
- Crop the GIF (same args as the crop GIF command)x
: Start Xy
: Start Yw
: Width of Cropped Portionh
: Height of Cropped Portionfi
- Fade in the GIF (optional param: l
for length of fade)fo
- Fade out the GIF (optional param: l
for length of fade)m
mv
: Mirror Verticallymh
: Mirror Horizontallyx
: Start Xy
: Start Yw
: Width of Mirrored Portionh
: Height of Mirrored PortionVote for a frame for Frame of the Year!
This function adds the subtitle on top of any existing filters
Allows you to add an overlaid PNG to the frame.
Parameter | Type | Default | Description |
---|---|---|---|
t |
str | (random) | The Template to use - See below for values |
Alias | Shortcuts |
---|---|
tbc | continue |
brb | wbrb, ericandre |
___ | ?, ??, ???, ???? |
$ | money, makeitrain |
pa | parentaladvisory, explicit, parent |
boi | boi, boy, spongeboi, boii, boiii |
bonk | horni, cheems, no horni, bam |
yd | darksouls, died |
jojo | approach |
load | loading, throbber |
nerd | simpsons, simp |
poochie | planet, pooch |
rc | redcircle, look |
speed | speedlines, fast |
sblick | spongelick, lick |
thumbs | thumbsup, tu |
wa | wasted, gta, waste |
zb | zuck, zucc, sweetbabyray |
!notext
, !empty
)This function will give the frame without the subtitle
Lays a grid over a frame. Helpful for determining where to apply an effect
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
, !inverted
) - ONLY ALLOWED ONCE PER COMMANDThis function inverts the colors of the frames
!mirror
)This function mirrors an image at a place in the specified direction
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
)This function flips an image in the specified direction
Parameter | Type | Default | Description |
---|---|---|---|
v |
int or bool | false | Whether to flip verticaly |
h |
int or bool | true | Whether to flip horizontally |
This function bulges or pinches an image at a specified location
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) |
This function makes the frame look like a painting.
Parameter | Type | Default | Description |
---|---|---|---|
s |
int | 10 | What size to make the "blotches" of paint - (max: 15) |
This function applies a kaleidoscope effect to an image based on the provided 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. |
This function displays the palette of an image with up to 10 colors
Parameter | Type | Default | Description |
---|---|---|---|
c | int | 5 | The colors to include in the pallete (max: 10) |
This function crops an image frame based on the provided 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. |
!rblur
, !blur
)This function applies a radial blur to an image frame based on the provided 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. |
!bg
)This function removes the background from an image frame based on the provided 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. |
This function converts an image frame to black and white.
!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.