Skip to content

Commit

Permalink
docs: minor fixes (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
brycedrennan authored Jan 8, 2024
1 parent 66b17cc commit c5199ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#ImaginAIry 🤖🧠
# ImaginAIry 🤖🧠
**Pythonic AI generation of images and videos**

[![Downloads](https://pepy.tech/badge/imaginairy)](https://pepy.tech/project/imaginairy)
Expand Down Expand Up @@ -61,12 +61,12 @@ pip install imaginairy
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.

#### Body Pose Control
Expand Down Expand Up @@ -270,7 +270,7 @@ Replaces existing details in an image. Good to use with --init-image-strength 0.
```

=== "Python"
``` py
```py
from imaginairy.api.generate import imagine
from imaginairy.schema import ImaginePrompt, ControlInput, LazyLoadingImage

Expand Down Expand Up @@ -323,10 +323,10 @@ allow the tool to generate one for you.
```

=== "Python"
``` py
```py
from imaginairy.api.video_sample import generate_video

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">
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ plugins:
show_source: true

nav:
- Home: index.md
- Docs:
- Overview: index.md
- API Docs:
- CLI:
- Create Image: docs/CLI/imagine.md
- Create Video: docs/CLI/videogen.md
Expand Down

0 comments on commit c5199ed

Please sign in to comment.