File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import wavespeed
3333
3434output = 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
3939print (output[" outputs" ][0 ]) # Output URL
@@ -53,15 +53,15 @@ Or pass it directly:
5353from wavespeed import Client
5454
5555client = 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
6262output = 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)
Original file line number Diff line number Diff 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__ (
You can’t perform that action at this time.
0 commit comments