saymaker-haystack
Haystack components that generate images and video on SayMaker: one API key runs Veo 3.1, Kling 3.0, Seedance 2.0, MiniMax H3, Nano Banana 2, GPT Image 2.5, Seedream 5.0 and the rest of the shelf on your own credits.
pip install saymaker-haystack
export SAYMAKER_API_KEY=sk-... # create one at https://saymaker.ai/settings/apikeys
from saymaker_haystack import SayMakerImageGenerator, SayMakerVideoGenerator
SayMakerImageGenerator(aspect_ratio="16:9").run(prompt="a lighthouse in fog, long exposure")
# {"images": ["https://cdn.saymaker.ai/..."]}
SayMakerVideoGenerator(duration=6).run(prompt="the lighthouse beam sweeps across the fog")
# {"videos": ["https://cdn.saymaker.ai/..."]}
In a pipeline
Write the prompt with an LLM, render it with SayMaker:
from haystack import Pipeline
from haystack.components.builders import PromptBuilder
from haystack.components.generators import OpenAIGenerator
from saymaker_haystack import SayMakerImageGenerator
p = Pipeline()
p.add_component("brief", PromptBuilder("Write one image prompt for a blog cover about {{topic}}. Name light, material, framing."))
p.add_component("llm", OpenAIGenerator())
p.add_component("render", SayMakerImageGenerator(aspect_ratio="16:9"))
p.connect("brief", "llm")
p.connect("llm.replies", "render.prompt")
(llm.replies is a list; add a small adapter component that takes replies[0] if your Haystack version does not convert it.)
Components
| Component | run() input |
Output |
|---|---|---|
SayMakerImageGenerator |
prompt, optional image_url to edit a photo |
{"images": [url]} |
SayMakerVideoGenerator |
prompt, optional image_url (first frame) |
{"videos": [url]} |
Both serialize with to_dict / from_dict; the key is a Haystack Secret read from SAYMAKER_API_KEY.
SayMakerVideoGenerator defaults to minimax-h3-fast, the one a free account can run. Pass model="veo-3-1", "kling-3-0" or "seedance-2" on a plan or credit pack (pricing). Runs on a free account wait in a queue before they start; the default timeouts cover the longest wait.
Built on the saymaker client. MIT licensed. Made by SayMaker, the AI video generator agent.
Metadata
Release files for saymaker-haystack 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| saymaker_haystack-0.1.0.tar.gz | 3.8 kB | Without provenance | Details for saymaker_haystack-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| saymaker_haystack-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for saymaker_haystack-0.1.0-py3-none-any.whl |
Total release size: 8.4 kB
Release files / saymaker_haystack-0.1.0.tar.gz
| Download URL | saymaker_haystack-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ceff4598d2f79d58a5bac06aaf5dcf27088e2aea5f6d944ab5673414f3bfd3f
|
|
BLAKE2b-256 checksum How to use checksums |
3c8116b23e5bd58802b70f4acd7fdd2ed4c4e0d2e786136c21db2493bd0f7b28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / saymaker_haystack-0.1.0-py3-none-any.whl
| Download URL | saymaker_haystack-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
adea9548ef75417694cffb12de3cec30891b0af76701ec8c67e57ca02617322a
|
|
BLAKE2b-256 checksum How to use checksums |
edde48e830232c31030424ff522fc9f0a95ca041bf386b0c7eb55873f1843ae8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for saymaker-haystack 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.