Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions magic_hour/resources/v1/ai_headshot_generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ from os import getenv

client = Client(token=getenv("API_TOKEN"))
res = client.v1.ai_headshot_generator.generate(
assets={"image_file_path": "/path/to/1234.png"}, name="Ai Headshot image"
assets={"image_file_path": "/path/to/1234.png"}, name="Ai Headshot image",
wait_for_completion=True,
download_outputs=True,
download_directory="."
Expand All @@ -47,7 +47,7 @@ from os import getenv

client = AsyncClient(token=getenv("API_TOKEN"))
res = await client.v1.ai_headshot_generator.generate(
assets={"image_file_path": "/path/to/1234.png"}, name="Ai Headshot image"
assets={"image_file_path": "/path/to/1234.png"}, name="Ai Headshot image",
wait_for_completion=True,
download_outputs=True,
download_directory="."
Expand Down
4 changes: 2 additions & 2 deletions magic_hour/resources/v1/photo_colorizer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ from os import getenv

client = Client(token=getenv("API_TOKEN"))
res = client.v1.photo_colorizer.generate(
assets={"image_file_path": "/path/to/1234.png"}, name="Photo Colorizer image"
assets={"image_file_path": "/path/to/1234.png"}, name="Photo Colorizer image",
wait_for_completion=True,
download_outputs=True,
download_directory="."
Expand All @@ -47,7 +47,7 @@ from os import getenv

client = AsyncClient(token=getenv("API_TOKEN"))
res = await client.v1.photo_colorizer.generate(
assets={"image_file_path": "/path/to/1234.png"}, name="Photo Colorizer image"
assets={"image_file_path": "/path/to/1234.png"}, name="Photo Colorizer image",
wait_for_completion=True,
download_outputs=True,
download_directory="."
Expand Down
Loading