Skip to content

Commit 9c90fcd

Browse files
chengzeyiclaude
andcommitted
Simplify example prompts in docs
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 7794d81 commit 9c90fcd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import wavespeed
3333

3434
output = wavespeed.run(
3535
"wavespeed-ai/z-image/turbo",
36-
input={"prompt": "A cat holds a sign that says 'Hello World'"},
36+
input={"prompt": "Cat"},
3737
)
3838

3939
print(output["outputs"][0]) # Output URL
@@ -53,15 +53,15 @@ Or pass it directly:
5353
from wavespeed import Client
5454

5555
client = Client(api_key="your-api-key")
56-
output = client.run("wavespeed-ai/z-image/turbo", input={"prompt": "A cat holds a sign that says 'Hello World'"})
56+
output = client.run("wavespeed-ai/z-image/turbo", input={"prompt": "Cat"})
5757
```
5858

5959
### Options
6060

6161
```python
6262
output = wavespeed.run(
6363
"wavespeed-ai/z-image/turbo",
64-
input={"prompt": "A cat holds a sign that says 'Hello World'"},
64+
input={"prompt": "Cat"},
6565
timeout=36000.0 # Max wait time in seconds (default: 36000.0)
6666
poll_interval=1.0, # Status check interval (default: 1.0)
6767
)

src/wavespeed/api/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Client:
1919
2020
Example:
2121
client = Client(api_key="your-api-key")
22-
output = client.run("wavespeed-ai/z-image/turbo", input={"prompt": "Hello"})
22+
output = client.run("wavespeed-ai/z-image/turbo", input={"prompt": "Cat"})
2323
"""
2424

2525
def __init__(

0 commit comments

Comments
 (0)