docs: minor fixes (#446)

pull/448/head
Bryce Drennan 4 months ago committed by GitHub
parent 66b17cc315
commit c5199ed7cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#ImaginAIry 🤖🧠 # ImaginAIry 🤖🧠
**Pythonic AI generation of images and videos** **Pythonic AI generation of images and videos**
[![Downloads](https://pepy.tech/badge/imaginairy)](https://pepy.tech/project/imaginairy) [![Downloads](https://pepy.tech/badge/imaginairy)](https://pepy.tech/project/imaginairy)
@ -61,12 +61,12 @@ pip install imaginairy
result.img.save("sun_set_green_valley.png") result.img.save("sun_set_green_valley.png")
``` ```
<img src="/assets/028374_1_ddim50_PS7.5_wide_shot_of_sun_setting_on_a_green_valley_[generated].jpg" width="100%" height="auto"> <img src="assets/028374_1_ddim50_PS7.5_wide_shot_of_sun_setting_on_a_green_valley_[generated].jpg" width="100%" height="auto">
--- ---
## Image Generation Control ### Image Generation Control
Guide the generation process by providing body poses, depth maps, canny edges, hed boundaries, normal maps, or even QR codes. Guide the generation process by providing body poses, depth maps, canny edges, hed boundaries, normal maps, or even QR codes.
#### Body Pose Control #### Body Pose Control
@ -270,7 +270,7 @@ Replaces existing details in an image. Good to use with --init-image-strength 0.
``` ```
=== "Python" === "Python"
``` py ```py
from imaginairy.api.generate import imagine from imaginairy.api.generate import imagine
from imaginairy.schema import ImaginePrompt, ControlInput, LazyLoadingImage from imaginairy.schema import ImaginePrompt, ControlInput, LazyLoadingImage
@ -323,10 +323,10 @@ allow the tool to generate one for you.
``` ```
=== "Python" === "Python"
``` py ```py
from imaginairy.api.video_sample import generate_video from imaginairy.api.video_sample import generate_video
generate_video(input_path="assets/rocket-wide.png") generate_video(input_path="assets/rocket-wide.png")
``` ```
<img src="/assets/svd-rocket.gif" alt="portrait photo of a freckled woman" width="50%" height="auto"> <img src="assets/svd-rocket.gif" width="50%" height="auto">

@ -35,8 +35,8 @@ plugins:
show_source: true show_source: true
nav: nav:
- Home: index.md - Overview: index.md
- Docs: - API Docs:
- CLI: - CLI:
- Create Image: docs/CLI/imagine.md - Create Image: docs/CLI/imagine.md
- Create Video: docs/CLI/videogen.md - Create Video: docs/CLI/videogen.md

Loading…
Cancel
Save