-
Notifications
You must be signed in to change notification settings - Fork 0
3 Commands
With commands, you can send messages to custom paint run time. Command is a postMessage call with Javascript from another window, tab or document, to tell custom paint to perform actions. You can control the image, layers, effects, undo history and almost everything that is inside your custom paint application.
You can also chain the commands with semicolons (;) if you use the query parameter.
Using commands is very simple. Take a look for this example for integration.
Basically, you just send the command to custom content window to perform actions:
// sending commands to sumo (iframe)
sumo = document.getElementById('sumo')
sumo.contentWindow.postMessage({ 'command': 'command-to-send:optional-value' }, '*')Here is a simple example for choosing the AI tool with prompt "dog" and generating the image.
// send commands to sumo
function command(c) {
document.getElementById('sumo').contentWindow.postMessage({'command': c }, "*");
}
command('ai-create:dog')
command('ai-generate')Commands for adjusting the colors.
Update yellow-blue value of color adjustments. Possible values from -1 to 1.
adjustment-b:0.5
live
dev
local
Update brightness value of color adjustments. Possible values from -1 to 1.
adjustment-brightness:0.5
live
dev
local
Update contrast value of color adjustments. Possible values from -1 to 1.
adjustment-contrast:0.5
live
dev
local
Update exposure value of color adjustments. Possible values from -1 to 1.
adjustment-exposure:0.5
dev
Update magenta-green value of color adjustments. Possible values from -1 to 1.
adjustment-g:0.5
dev
Update hue value of color adjustments. Possible values from -1 to 1.
adjustment-hue:0.5
dev
Update cyan-red value of color adjustments. Possible values from -1 to 1.
adjustment-r:0.5
dev
Update saturation value of color adjustments. Possible values from -1 to 1.
adjustment-saturation:0.5
dev
Update temperature value of color adjustments. Possible values from -1 to 1.
adjustment-temperature:0.5
dev
Update tint value of color adjustments. Possible values from -1 to 1.
adjustment-tint:0.5
dev
Update vibrance value of color adjustments. Possible values from -1 to 1.
adjustment-vibrance:0.5
dev
Commands for adjustmentbrush.
Change brush opacity for the adjustmentbrush tool.
Example: https://tatami.sumo.app/?commands=adjustmentbrush-opacity:50
Change brush pressure for the adjustmentbrush tool.
Example: https://tatami.sumo.app/?commands=adjustmentbrush-pressure:50
Change brush size for the adjustmentbrush tool.
Example: https://tatami.sumo.app/?commands=adjustmentbrush-size:10
Change brush spacing for the adjustmentbrush tool.
Example: https://tatami.sumo.app/?commands=adjustmentbrush-spacing:10
Commands for AI features.
Open AI tool with create mode. Optional parameter prompt.
ai-create
dev
ai-create:lion
dev
Run AI fix face for a photo.
Example: https://tatami.sumo.app/?work=face&commands=ai-fix-face
Generate AI image based on the mode and prompt.
ai-generate
dev
Set image guidance scale for AI tool.
Example: https://tatami.sumo.app/?commands=ai-image-guidance-scale
Open AI tool with instruct mode. Optional parameter prompt.
ai-instruct
dev
ai-instruct:rabbit
dev
Change the AI prompt.
ai-prompt:dog
dev
Change the negative prompt.
ai-prompt-negative:cat
dev
Randomize new prompt and negative prompt.
ai-prompt-randomize
dev
Change prompt strength.
Example: https://tatami.sumo.app/?commands=ai-prompt-strenght:10
Open AI tool with reimagine mode. Optional parameter prompt.
ai-reimagine
dev
ai-reimagine:mouse
dev
Set reimagine strength for AI tool.
Example: https://tatami.sumo.app/?commands=ai-reimagine-strength
Perform AI remove background command.
ai-remove-background
dev
Perform AI scale and enhance command.
ai-scale-and-enhance
dev
Perform AI scale up command.
ai-scale-up
dev
Generate AI texture.
Example: https://tatami.sumo.app/?commands=ai-texture-generate
API related commands.
Perform API save command. See api-start and api-data messages.
api-save
dev
General commands for the app.
Show alert message. Supports language strings. Full list of language strings is available here.
app-alert:login_first
dev
Ask to install the app (PWA).
app-install
dev
Change the app language.
app-language:fi
dev
Add message below the top banner for the user.
app-message:message
dev
Send message to parent document.
Example: https://tatami.sumo.app/?run=false&commands=app-parent:message
Reset the app settings and image to defaults.
app-reset
dev
Reset user data. Removes all user saved gradients, color swatches and shortcut buttons on cloud.
app-reset-user-data
dev
Run app. If app is disabled with query parameter run=false, it should be started with this command.
Example: https://tatami.sumo.app/?run=false&commands=app-run
Run shortcut button. Possible values from 1 to 10.
app-shortcut:1
dev
Update style for app element. Value should be in following format: element:parameter:value.
app-style:menu:background:red
dev
Toggle app view between 3D and canvas. 3D object needs to be loaded.
app-view-toggle
dev
Set work name.
Example: https://tatami.sumo.app/?commands=app-work-name:Test
Brush related commands.
Set angle random value for the brush. Possible values from 0 to 100.
brush-angle-random:50
dev
Toggle brush auto rotate. Optional parameter auto rotate value.
Example: https://tatami.sumo.app/?commands=brush-auto-rotate:10
Set color for the brush. Hex value without hash.
brush-color:ff0000 (set brush color to red)
dev
Set color random value for the brush. Possible values from 0 to 100.
brush-color-random:50
dev
Save color swatch.
Example: https://tatami.sumo.app/?commands=brush-color-save
Add new color shortcut. Hex value without hash.
brush-color-shortcut:ffff00
dev
Set brush dash length value.
Example: https://tatami.sumo.app/?commands=brush-dash-length:10
Open drawing assists. Optional parameter: "symmetry", "perspective", "gravity", "spinner" or "live stroke".
brush-drawing-assist
dev
brush-drawing-assist:gravity
dev
Close drawing assist.
Example: https://tatami.sumo.app/?commands=brush-drawing-assist-close
Set dynamics value for the brush. Possible values from -100 to 100.
brush-dynamics:50
dev
Set dynamics scale value for the brush. Possible values from 0 to 100.
brush-dynamics-scale:50
dev
Set fade in value for the brush. Possible values from 0 to 512.
brush-fade-in:300
dev
Set fade out value for the brush. Possible values from 0 to 512.
brush-fade-out:300
dev
Enable or disable gravity drawing assist. Optional values true or false.
brush-gravity
dev
brush-gravity:false
dev
Set brush gravity aim value.
Example: https://tatami.sumo.app/?commands=brush-gravity-aim:10
Set brush gravity friction value.
Example: https://tatami.sumo.app/?commands=brush-gravity-friction:10
Set brush gravity rope value.
Example: https://tatami.sumo.app/?commands=brush-gravity-rope-length:10
Set brush hue value in degrees. Possible values from 0 to 360.
brush-hue:100 (hue color 100 degrees)
dev
Set ink fade value for the brush. Possible values from 0 to 100.
brush-ink-fade:50
dev
Set jitter value for the brush. Possible values from 0 to 30.
brush-jitter:20
dev
Set brightness value for the brush. Possible values from 0 to 100.
brush-light:80 (set brush lightness to 80 %)
dev
Activate livestroke drawing assist. Optional parameter for deactivation.
brush-livestroke (activate livestroke drawing assist)
dev
brush-livestroke:false (deactivate livestroke drawing assist)
dev
Load brush. Required parameter brush id.
brush-load:1002 (load brush 1003)
dev
Change the brush opacity. Required parameter opacity in percent.
brush-opacity:50 (set brush opacity to 50 percent)
dev
Activate perspective drawing assist. Optional parameter for deactivation.
brush-perspective (activate perspective drawing assist)
dev
brush-perspective:false (deactivate perspective drawing assist)
dev
Change the brush pressure. Required parameter pressure from 0 to 100.
brush-pressure:50
dev
Change the brush pressure sensitivity. Required parameter from 0 to 100.
Example: https://tatami.sumo.app/?commands=brush-pressure-sensitivity:50
Change the brush rotation. Required parameter rotation from 0 to 100.
brush-rotate:30
dev
Change the brush saturation. Required parameter saturation in percents.
brush-saturation:30 (saturate the brush color with 30%)
dev
Change the brush scale random. Required parameter size in percents.
brush-scale-random:20
dev
Change the brush size. Required parameter size in pixels.
brush-size:100 (set brush size to 100 pixels)
dev
Change the brush spacing. Required parameter spacing in pixels.
brush-spacing:10 (set brush spacing to 10 pixels)
dev
Activate spinner drawing assist. Optional parameter for deactivation.
brush-spinner (activate spinner drawing assist)
dev
brush-spinner:false (deactivate spinner drawing assist)
dev
Spinner drawing assist speed.
Example: https://tatami.sumo.app/?commands=brush-spinner-speed:10
Activate symmetry drawing assist. Optional parameter points.
brush-symmetry (activate symmetry drawing assist)
dev
brush-symmetry:10 (activate symmetry drawing assist with 10 points)
dev
brush-symmetry:0 (deactivate symmetry drawing assist)
dev
Activate brush stylus options.
Example: https://tatami.sumo.app/?commands=brush-stylus-options
Commands for file handling.
Create backup.
file-backup
dev
Download file. Optional parameter format. Default value jpg.
file-download
dev
file-download:png
dev
Export file as PDF file.
Example: https://tatami.sumo.app/?commands=file-export-as-pdf
Export project in LZMA format.
file-export-project
dev
Create new file. Required parameters width and height, separated with colon (:). Optional parameters bg and layer count.
file-new:1920:1080
dev
file-new:1920:1080:ff0000
dev
file-new:1920:1080:ffff00:5
dev
Open 3D object from url.
file-open-object:url
dev
Open pricing page. Affiliate reference is always sent with the request.
file-open-pricing
dev
Open image from url. Required parameter url.
file-open-url:url
dev
Open work. Required parameter work slug.
file-open-work:work
dev
Open work page. Required parameter work slug.
file-open-work-page:slug
dev
Restore latest backup.
file-restore
dev
Save to cloud. Required parameters work name and status separated with colon (:).
file-save-to-cloud:work:1
dev
Commands for fractal.
Generate fractal art.
Example: https://tatami.sumo.app/?commands=fractal-generate
Generate fractal with x value.
Example: https://tatami.sumo.app/?commands=fractal-x:10
Generate fractal with y value.
Example: https://tatami.sumo.app/?commands=fractal-y:10
Generate fractal with zoom value.
Example: https://tatami.sumo.app/?commands=fractal-zoom:50
Commands for frames.
Add new frame.
Example: https://tatami.sumo.app/?commands=frames-add-frame
Delete frame.
Example: https://tatami.sumo.app/?commands=frames-delete-frame
Duplicate frame.
Example: https://tatami.sumo.app/?commands=frames-duplicate-next
Toggle ghost frame.
Example: https://tatami.sumo.app/?commands=frames-ghost-toggle
Go to selected frame.
Example: https://tatami.sumo.app/?commands=frames-goto:3
Go to next frame.
Example: https://tatami.sumo.app/?commands=frames-goto-next
Go to previous frame.
Example: https://tatami.sumo.app/?commands=frames-goto-previous
Play frames.
Example: https://tatami.sumo.app/?commands=frames-play
Commands for gradient tool.
Randomize gradient to random colors without changing the handle points.
gradient-randomize
dev
Reverse gradient.
gradient-reverse
dev
Commands for the image.
Change the canvas size. Required parameters width and height separated with colon (:).
image-canvas:600:600
dev
Copy image.
image-copy
dev
Copy selection from all layers as merged image.
image-copy-selection
dev
Create coloring project from the image. Optional value word.
image-create-coloring-project
dev
image-create-coloring-project:flower
dev
Crop image.
image-crop
dev
Export image.
image-export
dev
Export 3D preview image.
image-export-preview
dev
Flatten image.
image-flatten
dev
Flip image horizontal.
image-flip-horizontal
dev
Flip image vertically.
image-flip-vertical
dev
Create layer from selection.
image-layer-from-selection
dev
Redo last step.
image-redo
dev
Reset image. Flatten all layers and set background to default.
image-reset
dev
Rotate image 180 degrees.
image-rotate-180
dev
Rotate image 90 degrees clockwise.
image-rotate-90
dev
Rotate image 90 degrees counter clockwise.
image-rotate-90-ccw
dev
Set image size. Required parameters width and height separated with colon (:).
image-size:600:400
dev
Undo last step.
image-undo
dev
Commands for layers.
Add new layer.
layer-add
dev
Show add color layer modal or add new color layer using hex color as parameter.
layer-add-color
dev
layer-add-color:ff0000
dev
Analyze layer colors and add them to used colors for the color picker.
layer-analyze-colors
dev
Set blending mode for the selected layer. Required parameter blending mode.
layer-blending-mode
dev
Set layer as brush texture.
layer-brush-texture
dev
Set selected layer as brush tip.
layer-brush-tip
dev
Center layer to canvas. Do not resize.
layer-center
dev
Clear the layer. Optional parameter index. If not set the selected layer will be cleared.
layer-clear (clear the selected layer)
dev
layer-clear:0 (clear the bottom layer)
dev
Copy layer. Optional parameter index. If not set the selected layer will be copied.
layer-copy (copy the selected layer)
dev
layer-copy:0 (copy the bottom layer)
dev
Copy layer content from selection. Optional parameter index. If not set the selected layer's content will be copied.
layer-copy-selection (copy the selection from selected layer)
dev
layer-copy-selection:0 (copy the selection from bottom layer)
dev
Auto crop and center layer.
layer-crop-auto
dev
Cut layer. Optional parameter index. If not set the selected layer will be cut.
layer-cut (cut the selected layer)
dev
layer-cut:0 (cut the bottom layer)
dev
Delete layer. Optional parameter index. If not set the selected layer will be deleted.
layer-delete (delete the selected layer)
dev
layer-delete:0 (delete the bottom layer)
dev
Duplicate layer.
layer-duplicate
dev
Export layer. Optional parameter index. If not set the selected layer will be exported.
layer-export (export the selected layer)
dev
layer-export:0 (export the bottom layer)
dev
Export all layers.
layer-export-all
dev
Flip layer image horizontal.
layer-flip-horizontal
dev
Flip layer image vertical.
layer-flip-vertical
dev
Generate layers based on layer data.
layer-generate
dev
Hide layer. Optional parameter index. If not set the selected layer will be hided.
layer-hide (hide the selected layer)
dev
layer-hide:0 (hide the bottom layer)
dev
Import image to layer from device.
layer-import
dev
Add layer mask from url. Required parameter url to png image to use as a mask.
layer-import-mask:url
dev
Import url to layer. Required parameter url.
layer-import-url:https://cdn.sumo.app/images/icon.png
dev
Invert colors for the selected layer.
layer-invert-colors
dev
Lock layer. Optional parameter index. If not set the selected layer will be locked.
layer-lock (lock the selected layer)
dev
layer-lock:0 (lock the bottom layer)
dev
Merge layer down.
layer-merge-down
dev
Move layer to new index.
layer-move:0:2 (move layer from index 0 to index 2)
dev
Update the name of the current layer.
layer-name:test
dev
Update the opacity of the current layer.
layer-opacity:0.5
dev
Paste clipboard content to layer.
layer-paste
dev
Rotate layer 180 degrees.
layer-rotate-180
dev
Rotate layer 90 degrees clockwise.
layer-rotate-90
dev
Rotate layer 90 degrees counter clockwise.
layer-rotate-90-ccw
dev
Perform scale to layer. Required parameters width and height.
layer-scale:width:height
dev
Perform scale to cover for the layer. It will scale the layer to cover the canvas.
layer-scale-to-cover
dev
Perform scale to fit for the layer. It will scale the layer to fit inside the canvas.
layer-scale-to-fit
dev
Select layer. Optional parameter index. If not set the selected layer will be selected again.
layer-select:0 (select bottom layer)
dev
Set layer as page.
layer-set-layer-as-page
dev
Show layer. Optional parameter index. If not set the selected layer will be visible.
layer-show (show the selected layer)
dev
layer-show:0 (show bottom layer)
dev
Toggle visibility for the layer. Optional parameter index. If not set the selected layer will be toggled.
layer-toggle (toggle visibility for the selected layer)
dev
layer-toggle:0 (toggle visibility for the bottom layer)
dev
Toggle lock for the layer. Optional parameter index. If not set the selected layer will be toggled.
layer-toggle-lock (toggle lock for the selected layer)
dev
layer-toggle-lock:0 (toggle lock for the bottom layer)
dev
Move and scale layer. First two attributes x and y, then optional width and height.
Example: https://tatami.sumo.app/?commands=layer-transform:10:10:300:300
Unlock layer. Optional parameter index. If not set the selected layer will be unlocked.
layer-unlock (unlock the selected layer)
dev
layer-unlock:0 (unlock the bottom layer)
dev
Commands for lenses.
Burn selected lens to layer.
lens-burn
dev
Open clarity lens.
lens-clarity
dev
Clear lenses.
lens-clear
dev
Open cmyk halftone lens.
lens-cmyk-halftone
dev
Open difference of gaussian lens.
lens-difference-of-gaussian
dev
Open directional blur lens.
lens-directional-blur
dev
Open displace lens.
lens-displace
dev
Open hexallate lens.
lens-hexallate
dev
Open kaleidoscope lens.
lens-kaleidoscope
dev
Open pixelate lens.
lens-pixelate
dev
Open spin blur lens.
lens-spin-blur
dev
Commands for modals.
Show about modal.
modal-about
dev
Show adjust colors modal.
modal-adjust-colors
dev
Show AI fix face modal.
ai-fix-face
dev
Show AI images browser.
modal-ai-images-browser
dev
Show analyze colors modal.
modal-analyze-colors
dev
Show assets browser.
Example: https://tatami.sumo.app/?commands=modal-assets-browser
Show brush browser.
Example: https://tatami.sumo.app/?commands=modal-brush-browser
Show save brush preset modal.
modal-brush-preset-save
dev
Show delete brush preset modal.
Example: https://tatami.sumo.app/?commands=modal-brush-preset-delete
Show canvas size modal. Optional parameters width and height.
modal-canvas-size
dev
modal-canvas-size:800:600
dev
Close modal.
Example: https://tatami.sumo.app/?commands=modal-close
Close color adjustments.
Example: https://tatami.sumo.app/?commands=modal-close-color-adjustments
Close fractal modal.
Example: https://tatami.sumo.app/?commands=modal-close-fractal
Close lens options.
Example: https://tatami.sumo.app/?commands=modal-close-lens-options
Show convert to coloring modal.
modal-convert-to-coloring
dev
Open create QR code modal.
Example: https://tatami.sumo.app/?commands=modal-create-qrcode
Show image size modal. Optional parameters width and height.
modal-image-size
dev
modal-image-size:800:600
dev
Show import coloring modal.
modal-import-coloring
dev
Show import mask file system modal.
modal-import-mask
dev
Show import object modal.
modal-import-object
dev
Show install modal.
modal-install
dev
Show lenses modal. Optional parameter selected lens.
modal-lenses
dev
modal-lenses:pixelate
dev
Show login modal.
modal-login
dev
Open mandala browser.
Example: https://tatami.sumo.app/?commands=modal-mandala-browser
Show new image modal. Optional parameters width and height or width, height and color.
modal-new
dev
modal-new:1920:1080
dev
modal-new:300:300:ff0000
dev
Show new coloring modal.
modal-new-coloring
dev
Open fractal modal.
Example: https://tatami.sumo.app/?commands=modal-new-fractal
Show object browser.
modal-object-browser
dev
Show open from cloud modal.
modal-open-from-cloud
dev
Show open from device modal.
modal-open-from-device
dev
Show open from url modal.
modal-open-from-url
dev
Show photo modal.
Example: https://tatami.sumo.app/?commands=modal-photo
Show rating modal.
Example: https://tatami.sumo.app/?commands=modal-rating
Show save asset modal.
Example: https://tatami.sumo.app/?commands=modal-save-asset
Show save to cloud modal.
modal-save-to-cloud
dev
Show save to device modal.
modal-save-to-device
dev
Show share modal.
modal-share
dev
Show text browser.
Example: https://tatami.sumo.app/?commands=modal-text-browser
Toggle script modal.
Example: https://tatami.sumo.app/?commands=modal-toggle-script
Show two factor auth modal.
modal-two-factor-auth
dev
Show welcome modal.
Example: https://tatami.sumo.app/?commands=modal-welcome
Show work info modal.
Example: https://tatami.sumo.app/?commands=modal-work-info
Commands for 3D objects.
Update object mesh. Requires new mesh data as JSON object.
object-mesh:{ "object1": { "parameter":value }, "object2": {} }
dev
Commands for panels.
Select add panel.
Example: https://tatami.sumo.app/?commands=panel-add
Close panels or individual panel.
panel-close (close all panels)
dev
panel-close:layers (close only layers panel)
dev
Select info panel.
panel-info
dev
Select layers panel.
panel-layers
dev
Select user panel.
panel-user
dev
Commands for pointer events.
End pointer.
Example: https://tatami.sumo.app/?commands=pointer-end
Move pointer.
Example: https://tatami.sumo.app/?commands=pointer-move
Start pointer.
Example: https://tatami.sumo.app/?commands=pointer-start
Commands for select tool and selecting objects.
Select all pixels.
select-all
dev
Select transparent pixels from the layer.
select-alpha
dev
Select rectangle area. Requires 4 parameters (top, right, bottom, left) separated with colon (:).
select-area:100:300:300:100 (selects 200x200 pixels from x:100 and y:100)
dev
Create mask from selection.
Example: https://tatami.sumo.app/?commands=select-create-mask
Remove selection if selection exists.
select-deselect
dev
Duplicate selected area from selected layer.
select-duplicate
dev
Clear selected area.
select-erase
dev
Select invert pixels.
select-invert
dev
Perform select magic fill action.
select-magic-fill
dev
Commands for shapes.
Add new shape. Optional 8 parameters (shape:stroke:x:y:w:h:color:strokecolor).
Example: https://tatami.sumo.app/?commands=shape-add:circle:0:10:10:300:300:ff0000
Bring shape to front.
shape-bring-to-front
dev
Change shape corner roundness.
Example: https://tatami.sumo.app/?commands=shape-corner-roundness:10
Delete selected shape. Optional parameter shape id.
shape-delete
dev
shape-delete:1 (delete shape with id 1)
dev
Change shape gradient fill (color 1).
Example: https://tatami.sumo.app/?commands=shape-gradient-fill-color1:ff0000
Change shape gradient fill (color 2).
Example: https://tatami.sumo.app/?commands=shape-gradient-fill-color2:ff0000
Change shape gradient fill.
Example: https://tatami.sumo.app/?commands=shape-gradient-fill:value
Change shape gradient fill start x position.
Example: https://tatami.sumo.app/?commands=shape-gradient-fill-startx:10
Change shape gradient fill end x position.
Example: https://tatami.sumo.app/?commands=shape-gradient-fill-endx:100
Change shape gradient fill start y position.
Example: https://tatami.sumo.app/?commands=shape-gradient-fill-starty:10
Change shape gradient fill end y position.
Example: https://tatami.sumo.app/?commands=shape-gradient-fill-endy:100
Change shape peak radius 1.
Example: https://tatami.sumo.app/?commands=shape-peak-radius1:100
Change shape peak radius 2.
Example: https://tatami.sumo.app/?commands=shape-peak-radius2:200
Change shape peak roundness.
Example: https://tatami.sumo.app/?commands=shape-peak-roundness:20
Change shape peaks.
Example: https://tatami.sumo.app/?commands=shape-peaks:5
Change shape points.
Example: https://tatami.sumo.app/?commands=shape-points:10
Send shape to back.
shape-send-to-back
dev
Set fill color for the shape.
Example: https://tatami.sumo.app/?commands=shape-set-fill-color:ffff00
Set outline color for the shape.
Example: https://tatami.sumo.app/?commands=shape-set-outline-color:ff0000
Set stroke width for the shape.
Example: https://tatami.sumo.app/?commands=shape-stroke-width:10
Commands for texts.
Add new text element. Optional value for the selected text string.
text-add
dev
text-add:test (add text "test")
dev
Align text to bottom of the text box.
text-align-bottom
dev
Align text to center of the text box.
text-align-center
dev
Align text to left of the text box.
text-align-left
dev
Align text to middle of the text box.
text-align-middle
dev
Align text to right of the text box.
text-align-right
dev
Align text to top of the text box.
text-align-top
dev
Set text. First parameter is text id and second is new value.
Example: https://tatami.sumo.app/?commands=text-set:id:value
Set text color.
Example: https://tatami.sumo.app/?commands=text-set-color:ff0000
Set text shadow x distance.
Example: https://tatami.sumo.app/?commands=text-shadow-x:2
Set text shadow y distance.
Example: https://tatami.sumo.app/?commands=text-shadow-y:2
Set text shadow blur.
Example: https://tatami.sumo.app/?commands=text-shadow-blur:2
Set text shadow strength.
Example: https://tatami.sumo.app/?commands=text-shadow-strength:2
Set text shadow color.
Example: https://tatami.sumo.app/?commands=text-shadow-color:ff0000
Set text size.
Example: https://tatami.sumo.app/?commands=text-size:24
Set text tool and add text. See text-add for optional parameters.
Example: https://tatami.sumo.app/?commands=text-tool:Text
Commands for tools.
Select adjustmentbrush tool. Optional value mode. Possible values "pro" or "none".
tool-adjustmentbrush
dev
tool-adjustmentbrush:pro (open with pro tools)
dev
tool-adjustmentbrush:none (open without quick actions)
dev
Select ai tool. Optional value mode. Possible values "pro" or "none".
tool-ai
dev
tool-ai:pro (open with pro tools)
dev
tool-ai:none (open without quick actions)
dev
Select brush tool. Optional value mode. Possible values "pro" or "none".
tool-brush
dev
tool-brush:pro (open with pro tools)
dev
tool-brush:none (open without quick actions)
dev
Select shape tool with circle mode. Optional value mode. Possible values "pro" or "none".
tool-circle
dev
tool-circle:pro (open with pro tools)
dev
tool-circle:none (open without quick actions)
dev
Choose select tool with color mode. Optional value mode. Possible values "pro" or "none".
tool-color
dev
tool-color:pro (open with pro tools)
dev
tool-color:none (open without quick actions)
dev
Set color threshold.
Example: https://tatami.sumo.app/?commands=tool-color-threshold:10
Set color softness.
Example: https://tatami.sumo.app/?commands=tool-color-softness:10
Select crop tool. Optional value mode. Possible values "pro" or "none".
tool-crop
dev
tool-crop:pro (open with pro tools)
dev
tool-crop:none (open without quick actions)
dev
Select dashed line tool. Optional value mode. Possible values "pro" or "none".
tool-dashedline
dev
tool-dashedline:pro (open with pro tools)
dev
tool-dashedline:none (open without quick actions)
dev
Choose select tool with ellipsoid mode. Optional value mode. Possible values "pro" or "none".
tool-ellipsoid
dev
tool-ellipsoid:pro (open with pro tools)
dev
tool-ellipsoid:none (open without quick actions)
dev
Select eraser tool. Optional value mode. Possible values "pro" or "none".
tool-eraser
dev
tool-eraser:pro (open with pro tools)
dev
tool-eraser:none (open without quick actions)
dev
Select eyedropper tool. Optional value mode. Possible values "pro" or "none".
tool-eyedropper
dev
tool-eyedropper:pro (open with pro tools)
dev
tool-eyedropper:none (open without quick actions)
dev
Choose gingerbread tool.
Example: https://tatami.sumo.app/?commands=tool-gingerbread
Select gradient tool. Optional value mode. Possible values "pro" or "none".
tool-gradient
dev
tool-gradient:pro (open with pro tools)
dev
tool-gradient:none (open without quick actions)
dev
Set gradient hue.
Example: https://tatami.sumo.app/?commands=tool-gradient-hue:10
Set gradient saturation.
Example: https://tatami.sumo.app/?commands=tool-gradient-saturation:10
Set gradient light.
Example: https://tatami.sumo.app/?commands=tool-gradient-light:10
Choose select tool with lasso mode. Optional value mode. Possible values "pro" or "none".
tool-lasso
dev
tool-lasso:pro (open with pro tools)
dev
tool-lasso:none (open without quick actions)
dev
Select move tool. Optional value mode. Possible values "pro" or "none".
tool-move
dev
tool-move:pro (open with pro tools)
dev
tool-move:none (open without quick actions)
dev
Select paint bucket tool. Optional value mode. Possible values "pro" or "none".
tool-paintbucket
dev
tool-paintbucket:pro (open with pro tools)
dev
tool-paintbucket:none (open without quick actions)
dev
Select shape tool with polygon mode. Optional value mode. Possible values "pro" or "none".
tool-polygon
dev
tool-polygon:pro (open with pro tools)
dev
tool-polygon:none (open without quick actions)
dev
Choose select tool with polygon lasso mode.
Example: https://tatami.sumo.app/?commands=tool-polygonlasso
Select shape tool with rectangle mode. Optional value mode. Possible values "pro" or "none".
tool-rectangle
dev
tool-rectangle:pro (open with pro tools)
dev
tool-rectangle:none (open without quick actions)
dev
Open secondary tool (if exists). Optional value mode. Possible values "pro" or "none"
tool-secondary
dev
tool-secondary:pro (open with pro tools)
dev
tool-secondary:none (open without quick actions)
dev
Choose select tool. Optional value mode. Possible values "pro" or "none".
tool-select
dev
tool-select:pro (open with pro tools)
dev
tool-select:none (open without quick actions)
dev
Select smudge tool. Optional value mode. Possible values "pro" or "none".
tool-smudge
dev
tool-smudge:pro (open with pro tools)
dev
tool-smudge:none (open without quick actions)
dev
Select shape tool with star mode. Optional value mode. Possible values "pro" or "none".
tool-star
dev
tool-star:pro (open with pro tools)
dev
tool-star:none (open without quick actions)
dev
Select text tool. Optional value mode. Possible values "pro" or "none".
tool-text
dev
tool-text:pro (open with pro tools)
dev
Play tunes song.
Example: https://tatami.sumo.app/?commands=tunes-play
Stop tunes song.
Example: https://tatami.sumo.app/?commands=tunes-stop
Change song tempo.
Example: https://tatami.sumo.app/?commands=tunes-tempo:200
Change song volume.
Example: https://tatami.sumo.app/?commands=tunes-volume:50
Commands for view.
View frames.
Example: https://tatami.sumo.app/?commands=view-frames
View recorder.
Example: https://tatami.sumo.app/?commands=view-recorder
Commands for vignette.
Change vignette exposure.
Example: https://tatami.sumo.app/?commands=vignette-exposure:50
Change vignette hardness.
Example: https://tatami.sumo.app/?commands=vignette-hardness:50
Change vignette opacity.
Example: https://tatami.sumo.app/?commands=vignette-opacity:50
Change vignette position.
Example: https://tatami.sumo.app/?commands=vignette-position:50
Change vignette radius.
Example: https://tatami.sumo.app/?commands=vignette-radius:50