Text to Image
TOX name base_txt_to_img
Summary
A TouchDesigner component for generating synthetic images with the Google Gemini API.
Controls
Refer to the Common Controls for a list of all available parameters.
| Parameter Name | Parameter | Type | Description |
|---|---|---|---|
| Resolution | Resolution | menu | The output image resolution |
| Aspect Ratio | Aspectratio | menu | The output image aspect ratio |
| Save Image | Saveimage | pulse | Prompts the user to save the image to file, note that the user is response for selecting a file extension |
Outputs
| Output Index | Name | Type | Description |
|---|---|---|---|
| 0 | out_response | TOP | The image output from the Google Gemini API |
| 1 | out_metadata | DAT | Contains the metadata back from the Google Gemini API, this includes data like total token count, and prompt token count |