Skip to content

Commit

Permalink
Some cleanup of the tags and description of flux nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonrising committed Aug 21, 2024
1 parent 156a0c2 commit 0367725
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 129 deletions.
3 changes: 2 additions & 1 deletion invokeai/app/invocations/flux_text_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@
@invocation(
"flux_text_encoder",
title="FLUX Text Encoding",
tags=["image"],
tags=["image", "flux"],
category="image",
version="1.0.0",
)
class FluxTextEncoderInvocation(BaseInvocation):
"""Encodes and preps a prompt for a flux image."""
clip: CLIPField = InputField(
title="CLIP",
description=FieldDescriptions.clip,
Expand Down
2 changes: 1 addition & 1 deletion invokeai/app/invocations/flux_text_to_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@invocation(
"flux_text_to_image",
title="FLUX Text to Image",
tags=["image"],
tags=["image", "flux"],
category="image",
version="1.0.0",
)
Expand Down
257 changes: 130 additions & 127 deletions invokeai/frontend/web/src/services/api/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5764,7 +5764,10 @@ export type components = {
*/
type: "flux_model_loader_output";
};
/** FLUX Text Encoding */
/**
* FLUX Text Encoding
* @description Encodes and preps a prompt for a flux image.
*/
FluxTextEncoderInvocation: {
/**
* Id
Expand Down Expand Up @@ -8605,154 +8608,154 @@ export type components = {
project_id: string | null;
};
InvocationOutputMap: {
rand_int: components["schemas"]["IntegerOutput"];
add: components["schemas"]["IntegerOutput"];
cv_inpaint: components["schemas"]["ImageOutput"];
string_join: components["schemas"]["StringOutput"];
core_metadata: components["schemas"]["MetadataOutput"];
lineart_anime_image_processor: components["schemas"]["ImageOutput"];
lora_collection_loader: components["schemas"]["LoRALoaderOutput"];
lineart_image_processor: components["schemas"]["ImageOutput"];
ideal_size: components["schemas"]["IdealSizeOutput"];
esrgan: components["schemas"]["ImageOutput"];
denoise_latents: components["schemas"]["LatentsOutput"];
create_gradient_mask: components["schemas"]["GradientMaskOutput"];
calculate_image_tiles: components["schemas"]["CalculateImageTilesOutput"];
img_scale: components["schemas"]["ImageOutput"];
metadata_item: components["schemas"]["MetadataItemOutput"];
img_chan: components["schemas"]["ImageOutput"];
string_split_neg: components["schemas"]["StringPosNegOutput"];
seamless: components["schemas"]["SeamlessModeOutput"];
sdxl_model_loader: components["schemas"]["SDXLModelLoaderOutput"];
canny_image_processor: components["schemas"]["ImageOutput"];
lblend: components["schemas"]["LatentsOutput"];
sdxl_compel_prompt: components["schemas"]["ConditioningOutput"];
mediapipe_face_processor: components["schemas"]["ImageOutput"];
zoe_depth_image_processor: components["schemas"]["ImageOutput"];
alpha_mask_to_tensor: components["schemas"]["MaskOutput"];
collect: components["schemas"]["CollectInvocationOutput"];
random_range: components["schemas"]["IntegerCollectionOutput"];
infill_lama: components["schemas"]["ImageOutput"];
img_hue_adjust: components["schemas"]["ImageOutput"];
img_channel_multiply: components["schemas"]["ImageOutput"];
leres_image_processor: components["schemas"]["ImageOutput"];
sdxl_lora_collection_loader: components["schemas"]["SDXLLoRALoaderOutput"];
img_blur: components["schemas"]["ImageOutput"];
float_to_int: components["schemas"]["IntegerOutput"];
main_model_loader: components["schemas"]["ModelLoaderOutput"];
face_mask_detection: components["schemas"]["FaceMaskOutput"];
controlnet: components["schemas"]["ControlOutput"];
range: components["schemas"]["IntegerCollectionOutput"];
string_collection: components["schemas"]["StringCollectionOutput"];
img_ilerp: components["schemas"]["ImageOutput"];
cv_inpaint: components["schemas"]["ImageOutput"];
tensor_mask_to_image: components["schemas"]["ImageOutput"];
lblend: components["schemas"]["LatentsOutput"];
float_range: components["schemas"]["FloatCollectionOutput"];
calculate_image_tiles_min_overlap: components["schemas"]["CalculateImageTilesOutput"];
string_join_three: components["schemas"]["StringOutput"];
spandrel_image_to_image_autoscale: components["schemas"]["ImageOutput"];
blank_image: components["schemas"]["ImageOutput"];
flux_model_loader: components["schemas"]["FluxModelLoaderOutput"];
prompt_from_file: components["schemas"]["StringCollectionOutput"];
invert_tensor_mask: components["schemas"]["MaskOutput"];
l2i: components["schemas"]["ImageOutput"];
conditioning: components["schemas"]["ConditioningOutput"];
image_collection: components["schemas"]["ImageCollectionOutput"];
boolean: components["schemas"]["BooleanOutput"];
metadata: components["schemas"]["MetadataOutput"];
merge_tiles_to_image: components["schemas"]["ImageOutput"];
sub: components["schemas"]["IntegerOutput"];
hed_image_processor: components["schemas"]["ImageOutput"];
sdxl_refiner_model_loader: components["schemas"]["SDXLRefinerModelLoaderOutput"];
infill_patchmatch: components["schemas"]["ImageOutput"];
calculate_image_tiles_even_split: components["schemas"]["CalculateImageTilesOutput"];
color_map_image_processor: components["schemas"]["ImageOutput"];
img_conv: components["schemas"]["ImageOutput"];
sdxl_lora_loader: components["schemas"]["SDXLLoRALoaderOutput"];
image_mask_to_tensor: components["schemas"]["MaskOutput"];
dynamic_prompt: components["schemas"]["StringCollectionOutput"];
ip_adapter: components["schemas"]["IPAdapterOutput"];
img_nsfw: components["schemas"]["ImageOutput"];
step_param_easing: components["schemas"]["FloatCollectionOutput"];
normalbae_image_processor: components["schemas"]["ImageOutput"];
segment_anything: components["schemas"]["MaskOutput"];
tensor_mask_to_image: components["schemas"]["ImageOutput"];
lora_loader: components["schemas"]["LoRALoaderOutput"];
heuristic_resize: components["schemas"]["ImageOutput"];
merge_metadata: components["schemas"]["MetadataOutput"];
mul: components["schemas"]["IntegerOutput"];
i2l: components["schemas"]["LatentsOutput"];
range: components["schemas"]["IntegerCollectionOutput"];
tile_image_processor: components["schemas"]["ImageOutput"];
img_watermark: components["schemas"]["ImageOutput"];
integer: components["schemas"]["IntegerOutput"];
segment_anything_processor: components["schemas"]["ImageOutput"];
unsharp_mask: components["schemas"]["ImageOutput"];
img_resize: components["schemas"]["ImageOutput"];
round_float: components["schemas"]["FloatOutput"];
flux_text_encoder: components["schemas"]["ConditioningOutput"];
lscale: components["schemas"]["LatentsOutput"];
canvas_paste_back: components["schemas"]["ImageOutput"];
sdxl_refiner_compel_prompt: components["schemas"]["ConditioningOutput"];
img_paste: components["schemas"]["ImageOutput"];
model_identifier: components["schemas"]["ModelIdentifierOutput"];
lresize: components["schemas"]["LatentsOutput"];
latents: components["schemas"]["LatentsOutput"];
color_correct: components["schemas"]["ImageOutput"];
float: components["schemas"]["FloatOutput"];
img_lerp: components["schemas"]["ImageOutput"];
mask_combine: components["schemas"]["ImageOutput"];
string_replace: components["schemas"]["StringOutput"];
mlsd_image_processor: components["schemas"]["ImageOutput"];
img_blur: components["schemas"]["ImageOutput"];
integer_math: components["schemas"]["IntegerOutput"];
lresize: components["schemas"]["LatentsOutput"];
ip_adapter: components["schemas"]["IPAdapterOutput"];
img_nsfw: components["schemas"]["ImageOutput"];
content_shuffle_image_processor: components["schemas"]["ImageOutput"];
vae_loader: components["schemas"]["VAEOutput"];
img_scale: components["schemas"]["ImageOutput"];
seamless: components["schemas"]["SeamlessModeOutput"];
show_image: components["schemas"]["ImageOutput"];
div: components["schemas"]["IntegerOutput"];
lscale: components["schemas"]["LatentsOutput"];
range_of_size: components["schemas"]["IntegerCollectionOutput"];
hed_image_processor: components["schemas"]["ImageOutput"];
mask_edge: components["schemas"]["ImageOutput"];
latents: components["schemas"]["LatentsOutput"];
sdxl_compel_prompt: components["schemas"]["ConditioningOutput"];
face_off: components["schemas"]["FaceOffOutput"];
main_model_loader: components["schemas"]["ModelLoaderOutput"];
merge_tiles_to_image: components["schemas"]["ImageOutput"];
lora_collection_loader: components["schemas"]["LoRALoaderOutput"];
create_denoise_mask: components["schemas"]["DenoiseMaskOutput"];
random_range: components["schemas"]["IntegerCollectionOutput"];
save_image: components["schemas"]["ImageOutput"];
conditioning: components["schemas"]["ConditioningOutput"];
lineart_anime_image_processor: components["schemas"]["ImageOutput"];
string_join_three: components["schemas"]["StringOutput"];
sdxl_lora_collection_loader: components["schemas"]["SDXLLoRALoaderOutput"];
face_identifier: components["schemas"]["ImageOutput"];
string: components["schemas"]["StringOutput"];
dynamic_prompt: components["schemas"]["StringCollectionOutput"];
lora_loader: components["schemas"]["LoRALoaderOutput"];
l2i: components["schemas"]["ImageOutput"];
step_param_easing: components["schemas"]["FloatCollectionOutput"];
conditioning_collection: components["schemas"]["ConditioningCollectionOutput"];
pidi_image_processor: components["schemas"]["ImageOutput"];
string_replace: components["schemas"]["StringOutput"];
color: components["schemas"]["ColorOutput"];
clip_skip: components["schemas"]["CLIPSkipInvocationOutput"];
lineart_image_processor: components["schemas"]["ImageOutput"];
canny_image_processor: components["schemas"]["ImageOutput"];
img_ilerp: components["schemas"]["ImageOutput"];
metadata_item: components["schemas"]["MetadataItemOutput"];
float_collection: components["schemas"]["FloatCollectionOutput"];
t2i_adapter: components["schemas"]["T2IAdapterOutput"];
boolean: components["schemas"]["BooleanOutput"];
lora_selector: components["schemas"]["LoRASelectorOutput"];
tomask: components["schemas"]["ImageOutput"];
crop_latents: components["schemas"]["LatentsOutput"];
latents_collection: components["schemas"]["LatentsCollectionOutput"];
tiled_multi_diffusion_denoise_latents: components["schemas"]["LatentsOutput"];
vae_loader: components["schemas"]["VAEOutput"];
pidi_image_processor: components["schemas"]["ImageOutput"];
rand_float: components["schemas"]["FloatOutput"];
tile_to_properties: components["schemas"]["TileToPropertiesOutput"];
conditioning_collection: components["schemas"]["ConditioningCollectionOutput"];
infill_rgba: components["schemas"]["ImageOutput"];
t2i_adapter: components["schemas"]["T2IAdapterOutput"];
calculate_image_tiles_even_split: components["schemas"]["CalculateImageTilesOutput"];
segment_anything_processor: components["schemas"]["ImageOutput"];
normalbae_image_processor: components["schemas"]["ImageOutput"];
noise: components["schemas"]["NoiseOutput"];
create_gradient_mask: components["schemas"]["GradientMaskOutput"];
image: components["schemas"]["ImageOutput"];
boolean_collection: components["schemas"]["BooleanCollectionOutput"];
freeu: components["schemas"]["UNetOutput"];
string_split: components["schemas"]["String2Output"];
midas_depth_image_processor: components["schemas"]["ImageOutput"];
denoise_latents: components["schemas"]["LatentsOutput"];
img_crop: components["schemas"]["ImageOutput"];
integer_collection: components["schemas"]["IntegerCollectionOutput"];
ideal_size: components["schemas"]["IdealSizeOutput"];
add: components["schemas"]["IntegerOutput"];
model_identifier: components["schemas"]["ModelIdentifierOutput"];
tile_to_properties: components["schemas"]["TileToPropertiesOutput"];
infill_cv2: components["schemas"]["ImageOutput"];
dw_openpose_image_processor: components["schemas"]["ImageOutput"];
compel: components["schemas"]["ConditioningOutput"];
infill_tile: components["schemas"]["ImageOutput"];
img_channel_multiply: components["schemas"]["ImageOutput"];
depth_anything_image_processor: components["schemas"]["ImageOutput"];
tomask: components["schemas"]["ImageOutput"];
face_identifier: components["schemas"]["ImageOutput"];
core_metadata: components["schemas"]["MetadataOutput"];
img_mul: components["schemas"]["ImageOutput"];
rand_float: components["schemas"]["FloatOutput"];
pair_tile_image: components["schemas"]["PairTileImageOutput"];
range_of_size: components["schemas"]["IntegerCollectionOutput"];
rand_int: components["schemas"]["IntegerOutput"];
string_split_neg: components["schemas"]["StringPosNegOutput"];
zoe_depth_image_processor: components["schemas"]["ImageOutput"];
img_lerp: components["schemas"]["ImageOutput"];
spandrel_image_to_image_autoscale: components["schemas"]["ImageOutput"];
div: components["schemas"]["IntegerOutput"];
grounding_dino: components["schemas"]["BoundingBoxCollectionOutput"];
prompt_from_file: components["schemas"]["StringCollectionOutput"];
infill_patchmatch: components["schemas"]["ImageOutput"];
rectangle_mask: components["schemas"]["MaskOutput"];
bounding_box: components["schemas"]["BoundingBoxOutput"];
save_image: components["schemas"]["ImageOutput"];
sdxl_refiner_model_loader: components["schemas"]["SDXLRefinerModelLoaderOutput"];
mlsd_image_processor: components["schemas"]["ImageOutput"];
boolean_collection: components["schemas"]["BooleanCollectionOutput"];
color_map_image_processor: components["schemas"]["ImageOutput"];
img_channel_offset: components["schemas"]["ImageOutput"];
unsharp_mask: components["schemas"]["ImageOutput"];
lora_selector: components["schemas"]["LoRASelectorOutput"];
content_shuffle_image_processor: components["schemas"]["ImageOutput"];
img_pad_crop: components["schemas"]["ImageOutput"];
mul: components["schemas"]["IntegerOutput"];
flux_text_encoder: components["schemas"]["ConditioningOutput"];
round_float: components["schemas"]["FloatOutput"];
mask_from_id: components["schemas"]["ImageOutput"];
mask_edge: components["schemas"]["ImageOutput"];
integer_collection: components["schemas"]["IntegerCollectionOutput"];
i2l: components["schemas"]["LatentsOutput"];
img_resize: components["schemas"]["ImageOutput"];
canvas_paste_back: components["schemas"]["ImageOutput"];
img_mul: components["schemas"]["ImageOutput"];
scheduler: components["schemas"]["SchedulerOutput"];
flux_text_to_image: components["schemas"]["ImageOutput"];
float_collection: components["schemas"]["FloatCollectionOutput"];
create_denoise_mask: components["schemas"]["DenoiseMaskOutput"];
merge_metadata: components["schemas"]["MetadataOutput"];
float_math: components["schemas"]["FloatOutput"];
mediapipe_face_processor: components["schemas"]["ImageOutput"];
color_correct: components["schemas"]["ImageOutput"];
spandrel_image_to_image: components["schemas"]["ImageOutput"];
img_chan: components["schemas"]["ImageOutput"];
string_collection: components["schemas"]["StringCollectionOutput"];
freeu: components["schemas"]["UNetOutput"];
integer: components["schemas"]["IntegerOutput"];
invert_tensor_mask: components["schemas"]["MaskOutput"];
dw_openpose_image_processor: components["schemas"]["ImageOutput"];
img_hue_adjust: components["schemas"]["ImageOutput"];
segment_anything: components["schemas"]["MaskOutput"];
mask_combine: components["schemas"]["ImageOutput"];
string_split: components["schemas"]["String2Output"];
sdxl_lora_loader: components["schemas"]["SDXLLoRALoaderOutput"];
blank_image: components["schemas"]["ImageOutput"];
float_math: components["schemas"]["FloatOutput"];
flux_text_to_image: components["schemas"]["ImageOutput"];
sub: components["schemas"]["IntegerOutput"];
heuristic_resize: components["schemas"]["ImageOutput"];
controlnet: components["schemas"]["ControlOutput"];
sdxl_model_loader: components["schemas"]["SDXLModelLoaderOutput"];
img_conv: components["schemas"]["ImageOutput"];
metadata: components["schemas"]["MetadataOutput"];
image_mask_to_tensor: components["schemas"]["MaskOutput"];
iterate: components["schemas"]["IterateInvocationOutput"];
grounding_dino: components["schemas"]["BoundingBoxCollectionOutput"];
float_range: components["schemas"]["FloatCollectionOutput"];
sdxl_refiner_compel_prompt: components["schemas"]["ConditioningOutput"];
tile_image_processor: components["schemas"]["ImageOutput"];
flux_model_loader: components["schemas"]["FluxModelLoaderOutput"];
alpha_mask_to_tensor: components["schemas"]["MaskOutput"];
esrgan: components["schemas"]["ImageOutput"];
infill_tile: components["schemas"]["ImageOutput"];
bounding_box: components["schemas"]["BoundingBoxOutput"];
tiled_multi_diffusion_denoise_latents: components["schemas"]["LatentsOutput"];
latents_collection: components["schemas"]["LatentsCollectionOutput"];
clip_skip: components["schemas"]["CLIPSkipInvocationOutput"];
midas_depth_image_processor: components["schemas"]["ImageOutput"];
compel: components["schemas"]["ConditioningOutput"];
face_mask_detection: components["schemas"]["FaceMaskOutput"];
integer_math: components["schemas"]["IntegerOutput"];
scheduler: components["schemas"]["SchedulerOutput"];
collect: components["schemas"]["CollectInvocationOutput"];
infill_lama: components["schemas"]["ImageOutput"];
depth_anything_image_processor: components["schemas"]["ImageOutput"];
string_join: components["schemas"]["StringOutput"];
mask_from_id: components["schemas"]["ImageOutput"];
image: components["schemas"]["ImageOutput"];
img_pad_crop: components["schemas"]["ImageOutput"];
};
/**
* InvocationStartedEvent
Expand Down

0 comments on commit 0367725

Please sign in to comment.