Addit
by rbuffico.huggingface.rbuffi/addit
- Remote endpoint
- 4 tools
Tools
addit__lambda_addit_handle_image_uploadHandle image upload and preprocessing for the Gradio interface. This function is called when a user uploads an image to the real images tab. It stores the original image size globally and processes the image to the required dimensions. Returns: , processed_image: PIL.Image object resized and cropped to 1024x1024, or None if no image., message: HTML-formatted string indicating the processing status, or empty string.addit_process_generated_imageProcess and generate images using ADDIT for the generated images workflow. This function generates a source image from a text prompt and then adds an object to it based on the target prompt and subject token using the ADDIT pipeline. Returns: , src_image: PIL.Image of the generated source image, or None if error., edited_image: PIL.Image with the added object, or None if error., status_message: String describing the result or error message.addit_process_real_imageProcess and edit a real uploaded image using ADDIT to add objects. This function takes an uploaded image and adds an object to it based on the target prompt and subject token using the ADDIT pipeline with optional inversion and offset techniques. Returns: , src_image: PIL.Image of the processed source image, or None if error., edited_image: PIL.Image with the added object, or None if error., status_message: String describing the result or error message.
No tool matches.
As the server's own listing gives them. We never call a tool.