Give one vivid opening line for a story set in a lighthouse.
For three nights the lighthouse lamp burned blue, and on the fourth morning a drowned sailor knocked at the door.
Give one vivid opening line for a story set in a lighthouse.
For three nights the lighthouse lamp burned blue, and on the fourth morning a drowned sailor knocked at the door.
Fill the inputs the node publishes and run it on your own account. The same ports, defaults and types the studio uses.
Fill in the inputs and run the node to see its output here.
The same node, called by id from any surface. Every tab pins this node and passes the ports below.
import { BlitClient } from "@blitflow/sdk";
const { runNode } = new BlitClient({ apiKey: process.env.BLITFLOW_TOKEN });
const { outputs } = await runNode("muse-spark-1-3", {
prompt: { value: "example" },
image: { ref: "https://..." },
systemPrompt: { value: "example" },
maxTokens: { value: 1024 },
});# Install once, then sign in
npm install -g blitflow
blitflow login
blitflow node muse-spark-1-3 \
-i prompt="example" \
-i image=@https://... \
-i systemPrompt="example" \
-i maxTokens=1024{
"name": "runs_node",
"arguments": {
"node": "muse-spark-1-3",
"inputs": {
"prompt": {
"value": "example"
},
"image": {
"ref": "https://..."
},
"systemPrompt": {
"value": "example"
},
"maxTokens": {
"value": 1024
}
}
}
}curl https://studio.blitflow.com/api/v1/runs/node \
-H "Authorization: Bearer $BLITFLOW_TOKEN" \
-H "Content-Type: application/json" \
-d '{"node":"muse-spark-1-3","inputs":{"prompt":{"value":"example"},"image":{"ref":"https://..."},"systemPrompt":{"value":"example"},"maxTokens":{"value":1024}}}'Every port this node publishes, with its type, its hint and the default it runs with. muse-spark-1-3 is the id you call.
| prompt* | TEXT | ||
| image | IMAGE | ||
| systemPrompt | TEXT | ||
| maxTokens | INT | 1024 |
| text | TEXT |