diff --git a/magic_hour/resources/v1/ai_image_editor/README.md b/magic_hour/resources/v1/ai_image_editor/README.md index 91c34a6..9ffd81e 100644 --- a/magic_hour/resources/v1/ai_image_editor/README.md +++ b/magic_hour/resources/v1/ai_image_editor/README.md @@ -32,7 +32,7 @@ from os import getenv client = Client(token=getenv("API_TOKEN")) res = client.v1.ai_image_editor.generate( - assets={"image_file_path": "/path/to/1234.png"}, + assets={"image_file_paths": ["/path/to/1234.png"]}, style={"prompt": "Give me sunglasses"}, name="Ai Image Editor image", wait_for_completion=True, @@ -49,7 +49,7 @@ from os import getenv client = AsyncClient(token=getenv("API_TOKEN")) res = await client.v1.ai_image_editor.generate( - assets={"image_file_path": "/path/to/1234.png"}, + assets={"image_file_paths": ["/path/to/1234.png"]}, style={"prompt": "Give me sunglasses"}, name="Ai Image Editor image", wait_for_completion=True,