Update readme and examples for SVG

This commit is contained in:
doctorpangloss 2024-08-28 15:12:17 -07:00
parent 2075f0f0d8
commit fd00368437
3 changed files with 277 additions and 28 deletions

View File

@ -308,6 +308,16 @@ In this example, LLAVA-NEXT (LLAVA 1.6) is prompted to describe an image.
You can try the [LLAVA-NEXT](tests/inference/workflows/llava-0.json), [Phi-3](tests/inference/workflows/phi-3-0.json), and two [translation](tests/inference/workflows/translation-0.json) [workflows](tests/inference/workflows/translation-1.json).
# SVG Conversion and String Saving
ComfyUI LTS supports powerful SVG conversion capabilities using vtracer and Skia, along with enhanced string saving functionality. This allows for seamless conversion between raster images and SVG format, as well as flexible string saving options.
![SVG Conversion Example](docs/assets/svg_01.png)
In this example, a raster image is converted to SVG, potentially modified, and then converted back to a raster image. The resulting image and SVG code can be saved.
You can try the [SVG Conversion Workflow](tests/inference/workflows/svg-0.json) to explore these features.
# Video Workflows
ComfyUI LTS supports video workflows with AnimateDiff Evolved.
@ -855,6 +865,7 @@ curl -X POST "http://localhost:8188/api/v1/prompts" \
```
**Python**:
```python
import requests

BIN
docs/assets/svg_01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 KiB

File diff suppressed because one or more lines are too long