Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
// Generated by tools/gen.sh from Blender's own API (tools/dump.py). Don't edit: regenerate.
import type * as H from "../../types";
import type * as M from "../../mathutils";
import type * as R from "../rna";
import type * as E from "../enums";
/** bpy.ops.image */
export interface Ops {
/**
* Add a new render slot
*
* bpy.ops.image.add_render_slot
*/
add_render_slot: H.Operator<{}>;
/**
* Interactively change the current frame number
*
* bpy.ops.image.change_frame
*/
change_frame: H.Operator<{
/** Frame Default: 0. */
frame?: H.In<number>;
}>;
/**
* Clear the boundaries of the render region and disable render region
*
* bpy.ops.image.clear_render_border
*/
clear_render_border: H.Operator<{}>;
/**
* Clear the currently selected render slot
*
* bpy.ops.image.clear_render_slot
*/
clear_render_slot: H.Operator<{}>;
/**
* Copy the image to the clipboard
*
* bpy.ops.image.clipboard_copy
*/
clipboard_copy: H.Operator<{}>;
/**
* Paste new image from the clipboard
*
* bpy.ops.image.clipboard_paste
*/
clipboard_paste: H.Operator<{}>;
/**
* Convert selected reference images to textured mesh plane
*
* bpy.ops.image.convert_to_mesh_plane
*/
convert_to_mesh_plane: H.Operator<{
/**
* Texture interpolation Default: 'Linear'.
* - `Linear`: Linear (Linear interpolation)
* - `Closest`: Closest (No interpolation (sample closest texel))
* - `Cubic`: Cubic (Cubic interpolation)
* - `Smart`: Smart (Bicubic when magnifying, else bilinear (OSL only))
*/
interpolation?: H.In<"Linear" | "Closest" | "Cubic" | "Smart">;
/**
* How the image is extrapolated past its original bounds Default: 'CLIP'.
* - `CLIP`: Clip (Clip to image size and set exterior pixels as transparent)
* - `EXTEND`: Extend (Extend by repeating edge pixels of the image)
* - `REPEAT`: Repeat (Cause the image to repeat horizontally and vertically)
*/
extension?: H.In<"CLIP" | "EXTEND" | "REPEAT">;
/** Always refresh image on frame changes Default: True. */
use_auto_refresh?: H.In<boolean>;
/** Use relative file paths Default: True. */
relative?: H.In<boolean>;
/**
* Node shader to use Default: 'PRINCIPLED'.
* - `PRINCIPLED`: Principled (Principled shader)
* - `SHADELESS`: Shadeless (Only visible to camera and reflections)
* - `EMISSION`: Emission (Emission shader)
*/
shader?: H.In<"PRINCIPLED" | "SHADELESS" | "EMISSION">;
/** Strength of emission Default: 1.0. */
emit_strength?: H.In<number>;
/** Use alpha channel for transparency Default: True. */
use_transparency?: H.In<boolean>;
/**
* Render Method Default: 'DITHERED'.
* - `DITHERED`: Dithered (Allows for grayscale hashed transparency, and compatible with render passes and ray-tracing. Also known as deferred rendering.)
* - `BLENDED`: Blended (Allows for colored transparency, but incompatible with render passes and ray-tracing. Also known as forward rendering.)
*/
render_method?: H.In<"DITHERED" | "BLENDED">;
/** Use backface culling to hide the back side of faces Default: False. */
use_backface_culling?: H.In<boolean>;
/** Render multiple transparent layers (may introduce transparency sorting problems) Default: True. */
show_transparent_back?: H.In<boolean>;
/** Overwrite existing material with the same name Default: True. */
overwrite_material?: H.In<boolean>;
/**
* Name for new mesh object and material Default: 'OBJECT'.
* - `OBJECT`: Source Object (Name after object source with a suffix)
* - `IMAGE`: Source Image (Name from loaded image)
*/
name_from?: H.In<"OBJECT" | "IMAGE">;
/** Delete empty image object once mesh plane is created Default: True. */
delete_ref?: H.In<boolean>;
}>;
/**
* Set black point or white point for curves
*
* bpy.ops.image.curves_point_set
*/
curves_point_set: H.Operator<{
/**
* Set black point or white point for curves Default: 'BLACK_POINT'.
* - `BLACK_POINT`: Black Point
* - `WHITE_POINT`: White Point
*/
point?: H.In<"BLACK_POINT" | "WHITE_POINT">;
/** Sample Size Default: 1. */
size?: H.In<number>;
}>;
/**
* Cycle through all non-void render slots
*
* bpy.ops.image.cycle_render_slot
*/
cycle_render_slot: H.Operator<{
/** Cycle in Reverse Default: False. */
reverse?: H.In<boolean>;
}>;
/**
* Edit image in an external application
*
* bpy.ops.image.external_edit
*/
external_edit: H.Operator<{
/** Default: "". */
filepath?: H.In<string>;
}>;
/**
* Open an image file browser, hold Shift to open the file, Alt to browse containing directory
*
* bpy.ops.image.file_browse
*/
file_browse: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Collapse the region displaying the operator settings Default: True. */
hide_props_region?: H.In<boolean>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: True. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: True. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 9. */
filemode?: H.In<number>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/** Enable Multi-View Default: False. */
show_multiview?: H.In<boolean>;
/** Use Multi-View Default: False. */
use_multiview?: H.In<boolean>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
}>;
/**
* Flip the image
*
* bpy.ops.image.flip
*/
flip: H.Operator<{
/** Flip the image horizontally Default: False. */
use_flip_x?: H.In<boolean>;
/** Flip the image vertically Default: False. */
use_flip_y?: H.In<boolean>;
}>;
/**
* Create mesh plane(s) from image files with the appropriate aspect ratio
*
* bpy.ops.image.import_as_mesh_planes
*/
import_as_mesh_planes: H.Operator<{
/**
* Texture interpolation Default: 'Linear'.
* - `Linear`: Linear (Linear interpolation)
* - `Closest`: Closest (No interpolation (sample closest texel))
* - `Cubic`: Cubic (Cubic interpolation)
* - `Smart`: Smart (Bicubic when magnifying, else bilinear (OSL only))
*/
interpolation?: H.In<"Linear" | "Closest" | "Cubic" | "Smart">;
/**
* How the image is extrapolated past its original bounds Default: 'CLIP'.
* - `CLIP`: Clip (Clip to image size and set exterior pixels as transparent)
* - `EXTEND`: Extend (Extend by repeating edge pixels of the image)
* - `REPEAT`: Repeat (Cause the image to repeat horizontally and vertically)
*/
extension?: H.In<"CLIP" | "EXTEND" | "REPEAT">;
/** Always refresh image on frame changes Default: True. */
use_auto_refresh?: H.In<boolean>;
/** Use relative file paths Default: True. */
relative?: H.In<boolean>;
/**
* Node shader to use Default: 'PRINCIPLED'.
* - `PRINCIPLED`: Principled (Principled shader)
* - `SHADELESS`: Shadeless (Only visible to camera and reflections)
* - `EMISSION`: Emission (Emission shader)
*/
shader?: H.In<"PRINCIPLED" | "SHADELESS" | "EMISSION">;
/** Strength of emission Default: 1.0. */
emit_strength?: H.In<number>;
/** Use alpha channel for transparency Default: True. */
use_transparency?: H.In<boolean>;
/**
* Render Method Default: 'DITHERED'.
* - `DITHERED`: Dithered (Allows for grayscale hashed transparency, and compatible with render passes and ray-tracing. Also known as deferred rendering.)
* - `BLENDED`: Blended (Allows for colored transparency, but incompatible with render passes and ray-tracing. Also known as forward rendering.)
*/
render_method?: H.In<"DITHERED" | "BLENDED">;
/** Use backface culling to hide the back side of faces Default: False. */
use_backface_culling?: H.In<boolean>;
/** Render multiple transparent layers (may introduce transparency sorting problems) Default: True. */
show_transparent_back?: H.In<boolean>;
/** Overwrite existing material with the same name Default: True. */
overwrite_material?: H.In<boolean>;
/** Filepath used for importing the file Default: "". */
filepath?: H.In<string>;
/**
* Align Default: 'WORLD'.
* - `WORLD`: World (Align the new object to the world)
* - `VIEW`: View (Align the new object to the view)
* - `CURSOR`: 3D Cursor (Use the 3D cursor orientation for the new object)
*/
align?: H.In<"WORLD" | "VIEW" | "CURSOR">;
/** Location Default: (0.0, 0.0, 0.0). */
location?: H.In<M.VectorLike>;
/** Rotation Default: (0.0, 0.0, 0.0). */
rotation?: H.In<M.Euler | readonly number[]>;
files?: H.In<readonly Record<string, any>[]>;
/** Default: "". */
directory?: H.In<string>;
/** Default: True. */
filter_image?: H.In<boolean>;
/** Default: True. */
filter_movie?: H.In<boolean>;
/** Default: True. */
filter_folder?: H.In<boolean>;
/** Force reload the image if it is already opened elsewhere in Blender Default: False. */
force_reload?: H.In<boolean>;
/** Import sequentially numbered images as an animated image sequence instead of separate planes Default: False. */
image_sequence?: H.In<boolean>;
/** Offset planes from each other. If disabled, multiple planes will be created at the same location Default: True. */
offset?: H.In<boolean>;
/**
* How planes are oriented relative to each others' local axis Default: '+X'.
* - `+X`: +X (Side by Side to the Left)
* - `+Y`: +Y (Side by Side, Downward)
* - `+Z`: +Z (Stacked Above)
* - `-X`: -X (Side by Side to the Right)
* - `-Y`: -Y (Side by Side, Upward)
* - `-Z`: -Z (Stacked Below)
*/
offset_axis?: H.In<"+X" | "+Y" | "+Z" | "-X" | "-Y" | "-Z">;
/** Set distance between each plane Default: 0.1. */
offset_amount?: H.In<number>;
/** How to align the planes Default: 'CAM_AX'. */
align_axis?: H.In<E.ImageImportAsMeshPlanesAlignAxis>;
/** Default: 'NONE'. */
prev_align_axis?: H.In<E.ImageImportAsMeshPlanesPrevAlignAxis>;
/** Add a constraint to make the planes track the camera Default: False. */
align_track?: H.In<boolean>;
/**
* Method for computing the plane size Default: 'ABSOLUTE'.
* - `ABSOLUTE`: Absolute (Use absolute size)
* - `CAMERA`: Scale to Camera Frame (Scale to fit or fill the camera frame)
* - `DPI`: Pixels per Inch (Scale based on pixels per inch)
* - `DPBU`: Pixels per Blender Unit (Scale based on pixels per Blender Unit)
*/
size_mode?: H.In<"ABSOLUTE" | "CAMERA" | "DPI" | "DPBU">;
/**
* Method to scale the plane with the camera frame Default: 'FILL'.
* - `FILL`: Fill (Fill camera frame, spilling outside the frame)
* - `FIT`: Fit (Fit entire image within the camera frame)
*/
fill_mode?: H.In<"FILL" | "FIT">;
/** Height of the created plane Default: 1.0. */
height?: H.In<number>;
/** Number of pixels per inch or Blender Unit Default: 600.0. */
factor?: H.In<number>;
}>;
/**
* Invert image's channels
*
* bpy.ops.image.invert
*/
invert: H.Operator<{
/** Invert red channel Default: False. */
invert_r?: H.In<boolean>;
/** Invert green channel Default: False. */
invert_g?: H.In<boolean>;
/** Invert blue channel Default: False. */
invert_b?: H.In<boolean>;
/** Invert alpha channel Default: False. */
invert_a?: H.In<boolean>;
}>;
/**
* Set the image's frame range to match the video's duration
*
* bpy.ops.image.match_movie_length
*/
match_movie_length: H.Operator<{}>;
/**
* Create a new image
*
* bpy.ops.image.new
*/
"new": H.Operator<{
/** Image data-block name Default: "Untitled". */
name?: H.In<string>;
/** Image width Default: 1024. */
width?: H.In<number>;
/** Image height Default: 1024. */
height?: H.In<number>;
/** Default fill color Default: (0.0, 0.0, 0.0, 1.0). */
color?: H.In<readonly number[]>;
/** Create an image with an alpha channel Default: True. */
alpha?: H.In<boolean>;
/**
* Fill the image with a grid for UV map testing Default: 'BLANK'.
* - `BLANK`: Blank (Generate a blank image)
* - `UV_GRID`: UV Grid (Generated grid to test UV mappings)
* - `COLOR_GRID`: Color Grid (Generated improved UV grid to test UV mappings)
*/
generated_type?: H.In<"BLANK" | "UV_GRID" | "COLOR_GRID">;
/** Create image with 32-bit floating-point bit depth Default: False. */
float?: H.In<boolean>;
/** Create an image with left and right views Default: False. */
use_stereo_3d?: H.In<boolean>;
/** Create a tiled image Default: False. */
tiled?: H.In<boolean>;
}>;
/**
* Open image
*
* bpy.ops.image.open
*/
open: H.Operator<{
/** Allow the path to contain substitution tokens Default: True. */
allow_path_tokens?: H.In<boolean>;
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Files */
files?: H.In<readonly Record<string, any>[]>;
/** Collapse the region displaying the operator settings Default: True. */
hide_props_region?: H.In<boolean>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: True. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: True. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 9. */
filemode?: H.In<number>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/** Enable Multi-View Default: False. */
show_multiview?: H.In<boolean>;
/** Use Multi-View Default: False. */
use_multiview?: H.In<boolean>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Automatically detect animated sequences in selected images (based on file names) Default: True. */
use_sequence_detection?: H.In<boolean>;
/** Detect selected UDIM files and load all matching tiles Default: True. */
use_udim_detecting?: H.In<boolean>;
}>;
/**
* (undocumented operator)
*
* bpy.ops.image.open_images
*/
open_images: H.Operator<{
/** Default: "". */
directory?: H.In<string>;
files?: H.In<readonly Record<string, any>[]>;
/** Relative Path Default: True. */
relative_path?: H.In<boolean>;
/** Detect Sequence Default: True. */
use_sequence_detection?: H.In<boolean>;
/** Detect UDIM Default: True. */
use_udim_detection?: H.In<boolean>;
}>;
/**
* Pack an image as embedded data into the .blend file
*
* bpy.ops.image.pack
*/
pack: H.Operator<{}>;
/**
* Project edited image back onto the object
*
* bpy.ops.image.project_apply
*/
project_apply: H.Operator<{}>;
/**
* Edit a snapshot of the 3D Viewport in an external image editor
*
* bpy.ops.image.project_edit
*/
project_edit: H.Operator<{}>;
/**
* Read all the current scene's view layers from cache, as needed
*
* bpy.ops.image.read_viewlayers
*/
read_viewlayers: H.Operator<{}>;
/**
* Reload current image from disk
*
* bpy.ops.image.reload
*/
reload: H.Operator<{}>;
/**
* Remove the current render slot
*
* bpy.ops.image.remove_render_slot
*/
remove_render_slot: H.Operator<{}>;
/**
* Set the boundaries of the render region and enable render region
*
* bpy.ops.image.render_border
*/
render_border: H.Operator<{
/** X Min Default: 0. */
xmin?: H.In<number>;
/** X Max Default: 0. */
xmax?: H.In<number>;
/** Y Min Default: 0. */
ymin?: H.In<number>;
/** Y Max Default: 0. */
ymax?: H.In<number>;
/** Wait for Input Default: True. */
wait_for_input?: H.In<boolean>;
}>;
/**
* Replace current image by another one from disk
*
* bpy.ops.image.replace
*/
replace: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Collapse the region displaying the operator settings Default: True. */
hide_props_region?: H.In<boolean>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: True. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: True. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 9. */
filemode?: H.In<number>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/** Enable Multi-View Default: False. */
show_multiview?: H.In<boolean>;
/** Use Multi-View Default: False. */
use_multiview?: H.In<boolean>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
}>;
/**
* Resize the image
*
* bpy.ops.image.resize
*/
resize: H.Operator<{
/** Size Default: (0, 0). */
size?: H.In<readonly number[]>;
/** Scale all the image's UDIM tiles Default: False. */
all_udims?: H.In<boolean>;
}>;
/**
* Rotate the image
*
* bpy.ops.image.rotate_orthogonal
*/
rotate_orthogonal: H.Operator<{
/**
* Amount of rotation in degrees (90, 180, 270) Default: '90'.
* - `90`: 90 Degrees (Rotate 90 degrees clockwise)
* - `180`: 180 Degrees (Rotate 180 degrees clockwise)
* - `270`: 270 Degrees (Rotate 270 degrees clockwise)
*/
degrees?: H.In<"90" | "180" | "270">;
}>;
/**
* Use mouse to sample a color in current image
*
* bpy.ops.image.sample
*/
sample: H.Operator<{
/** Sample Size Default: 1. */
size?: H.In<number>;
}>;
/**
* Sample a line and show it in Scope panels
*
* bpy.ops.image.sample_line
*/
sample_line: H.Operator<{
/** X Start Default: 0. */
xstart?: H.In<number>;
/** X End Default: 0. */
xend?: H.In<number>;
/** Y Start Default: 0. */
ystart?: H.In<number>;
/** Y End Default: 0. */
yend?: H.In<number>;
/** Flip Default: False. */
flip?: H.In<boolean>;
/** Mouse cursor style to use during the modal operator Default: 5. */
cursor?: H.In<number>;
}>;
/**
* Save the image with current name and settings
*
* bpy.ops.image.save
*/
save: H.Operator<{}>;
/**
* Save all modified images
*
* bpy.ops.image.save_all_modified
*/
save_all_modified: H.Operator<{}>;
/**
* Save the image with another name and/or settings
*
* bpy.ops.image.save_as
*/
save_as: H.Operator<{
/**
* Save image with render color management.
* For display image formats like PNG, apply view and display transform.
* For intermediate image formats like OpenEXR, use the default render output color space Default: False.
*/
save_as_render?: H.In<boolean>;
/** Create a new image file without modifying the current image in Blender Default: False. */
copy?: H.In<boolean>;
/** Allow the path to contain substitution tokens Default: True. */
allow_path_tokens?: H.In<boolean>;
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Check and warn on overwriting existing files Default: True. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: True. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: True. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 9. */
filemode?: H.In<number>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/** Enable Multi-View Default: False. */
show_multiview?: H.In<boolean>;
/** Use Multi-View Default: False. */
use_multiview?: H.In<boolean>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
}>;
/**
* Save a sequence of images
*
* bpy.ops.image.save_sequence
*/
save_sequence: H.Operator<{}>;
/**
* Adds a tile to the image
*
* bpy.ops.image.tile_add
*/
tile_add: H.Operator<{
/** UDIM number of the tile Default: 1002. */
number?: H.In<number>;
/** How many tiles to add Default: 1. */
count?: H.In<number>;
/** Optional tile label Default: "". */
label?: H.In<string>;
/** Fill new tile with a generated image Default: True. */
fill?: H.In<boolean>;
/** Default fill color Default: (0.0, 0.0, 0.0, 1.0). */
color?: H.In<readonly number[]>;
/**
* Fill the image with a grid for UV map testing Default: 'BLANK'.
* - `BLANK`: Blank (Generate a blank image)
* - `UV_GRID`: UV Grid (Generated grid to test UV mappings)
* - `COLOR_GRID`: Color Grid (Generated improved UV grid to test UV mappings)
*/
generated_type?: H.In<"BLANK" | "UV_GRID" | "COLOR_GRID">;
/** Image width Default: 1024. */
width?: H.In<number>;
/** Image height Default: 1024. */
height?: H.In<number>;
/** Create image with 32-bit floating-point bit depth Default: False. */
float?: H.In<boolean>;
/** Create an image with an alpha channel Default: True. */
alpha?: H.In<boolean>;
}>;
/**
* Fill the current tile with a generated image
*
* bpy.ops.image.tile_fill
*/
tile_fill: H.Operator<{
/** Default fill color Default: (0.0, 0.0, 0.0, 1.0). */
color?: H.In<readonly number[]>;
/**
* Fill the image with a grid for UV map testing Default: 'BLANK'.
* - `BLANK`: Blank (Generate a blank image)
* - `UV_GRID`: UV Grid (Generated grid to test UV mappings)
* - `COLOR_GRID`: Color Grid (Generated improved UV grid to test UV mappings)
*/
generated_type?: H.In<"BLANK" | "UV_GRID" | "COLOR_GRID">;
/** Image width Default: 1024. */
width?: H.In<number>;
/** Image height Default: 1024. */
height?: H.In<number>;
/** Create image with 32-bit floating-point bit depth Default: False. */
float?: H.In<boolean>;
/** Create an image with an alpha channel Default: True. */
alpha?: H.In<boolean>;
}>;
/**
* Removes a tile from the image
*
* bpy.ops.image.tile_remove
*/
tile_remove: H.Operator<{}>;
/**
* Save an image packed in the .blend file to disk
*
* bpy.ops.image.unpack
*/
unpack: H.Operator<{
/**
* How to unpack Default: 'USE_LOCAL'.
* - `REMOVE`: Remove Pack
* - `USE_LOCAL`: Use Local File
* - `WRITE_LOCAL`: Write Local File (overwrite existing)
* - `USE_ORIGINAL`: Use Original File
* - `WRITE_ORIGINAL`: Write Original File (overwrite existing)
*/
method?: H.In<"REMOVE" | "USE_LOCAL" | "WRITE_LOCAL" | "USE_ORIGINAL" | "WRITE_ORIGINAL">;
/** Image data-block name to unpack Default: "". */
id?: H.In<string>;
}>;
/**
* View the entire image
*
* bpy.ops.image.view_all
*/
view_all: H.Operator<{
/** Fit frame to the viewport Default: False. */
fit_view?: H.In<boolean>;
}>;
/**
* Center the view so that the cursor is in the middle of the view
*
* bpy.ops.image.view_center_cursor
*/
view_center_cursor: H.Operator<{}>;
/**
* Set 2D cursor to center view location
*
* bpy.ops.image.view_cursor_center
*/
view_cursor_center: H.Operator<{
/** Fit frame to the viewport Default: False. */
fit_view?: H.In<boolean>;
}>;
/**
* Use a 3D mouse device to pan/zoom the view
*
* bpy.ops.image.view_ndof
*/
view_ndof: H.Operator<{}>;
/**
* Pan the view
*
* bpy.ops.image.view_pan
*/
view_pan: H.Operator<{
/** Offset in floating-point units, 1.0 is the width and height of the image Default: (0.0, 0.0). */
offset?: H.In<M.VectorLike>;
}>;
/**
* View all selected UVs
*
* bpy.ops.image.view_selected
*/
view_selected: H.Operator<{}>;
/**
* Zoom in/out the image
*
* bpy.ops.image.view_zoom
*/
view_zoom: H.Operator<{
/** Zoom factor, values higher than 1.0 zoom in, lower values zoom out Default: 0.0. */
factor?: H.In<number>;
/** Allow the initial mouse position to be used Default: True. */
use_cursor_init?: H.In<boolean>;
}>;
/**
* Zoom in the view to the nearest item contained in the border
*
* bpy.ops.image.view_zoom_border
*/
view_zoom_border: H.Operator<{
/** X Min Default: 0. */
xmin?: H.In<number>;
/** X Max Default: 0. */
xmax?: H.In<number>;
/** Y Min Default: 0. */
ymin?: H.In<number>;
/** Y Max Default: 0. */
ymax?: H.In<number>;
/** Wait for Input Default: True. */
wait_for_input?: H.In<boolean>;
/** Zoom Out Default: False. */
zoom_out?: H.In<boolean>;
}>;
/**
* Zoom in the image (centered around 2D cursor)
*
* bpy.ops.image.view_zoom_in
*/
view_zoom_in: H.Operator<{
/** Cursor location in screen coordinates Default: (0.0, 0.0). */
location?: H.In<M.VectorLike>;
}>;
/**
* Zoom out the image (centered around 2D cursor)
*
* bpy.ops.image.view_zoom_out
*/
view_zoom_out: H.Operator<{
/** Cursor location in screen coordinates Default: (0.0, 0.0). */
location?: H.In<M.VectorLike>;
}>;
/**
* Set zoom ratio of the view
*
* bpy.ops.image.view_zoom_ratio
*/
view_zoom_ratio: H.Operator<{
/** Zoom ratio, 1.0 is 1:1, higher is zoomed in, lower is zoomed out Default: 0.0. */
ratio?: H.In<number>;
}>;
}