Skip to content

BlockFlow Studio 0.1.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@Hearmeman24 Hearmeman24 released this 01 Dec 08:20
· 25 commits to main since this release
5c55d16

The second public beta. It adds a spending budget, batch generation and character tools for AI agents, and fixes a bug that could run a generation with an empty prompt.

Updating from 0.1.0-beta.1

Restart BlockFlow Studio yourself after you update. app.py changed, so the automatic restart after an in-app update isn't enough: stop the app, then run uv run app.py. The web interface may be rebuilt on that start.

To update by hand, stop the app, then run these in the repository folder:

git fetch --tags origin
git merge --ff-only v0.1.0-beta.2
uv sync --frozen
uv run app.py

If you use the MCP server, restart your MCP client too, so it loads the new tools.

Check this if you open the app from other devices: when allowed origins are set, the backend now listens on every IPv4 address of the computer, as the web interface already did. Without allowed origins, it still listens only on the computer itself. BlockFlow Studio has no sign-in, so only set allowed origins on a network you trust.

Fixed: a generation could use an empty prompt

With an Image Loader and no prompt block before it, a generation block could say "Uses the prompt from Image Loader", hide its own prompt box and run with an empty prompt. If the model's prompt was optional, nothing stopped that run. The block now shows and uses its own prompt, also in flows you saved earlier. If results from a flow like this ignored your prompt, they may have been made without it. (#18)

Human in the Loop had the same problem. Also, a prompt left over from an earlier run is no longer used after you remove the block it came from.

New for AI agents (MCP server)

  • MCP budget: set hourly, daily and monthly limits in US dollars under Settings → App. They are off by default. New jobs reserve their estimated cost, and a job that doesn't fit every limit is refused before anything is sent. Every Studio tool result, errors included, has mcp_budget: "not_set", your limits and what is left, or "unavailable". Only jobs started through MCP count. Final charges can be higher than estimates, so spending can go over a limit. The budget guards against accidental spending, but isn't a security boundary: anything that can reach the backend directly can get around it. (#15)
  • generate_batch: 1 to 20 generations with one model and settings, each with its own prompt, references, character and label. Either every job is queued or none is. max_cost_usd caps each generation, and max_total_cost_usd caps the batch. (#15)
  • Characters: create_character makes one with a face, a description and extra image, video and audio files. generate and generate_batch can link results to a character in any mode, so they show up with that character's work. Linking alone doesn't use the character's face. (#14)
  • Cost caps count reference videos: estimates used to count a reference video of unknown length as 0 seconds, so a job could cost more than max_cost_usd. MCP estimates now measure local videos, which needs ffprobe. Behaviour change: if the price depends on a length that can't be measured, such as a video URL's, there is no estimate. The request is then refused unless allow_unknown_cost is true, and is always refused while an MCP budget limit is set. Estimates in the app itself haven't changed. (#15)
  • Clearer errors: errors say what was wrong and, where they can, how to fix it. Wrong arguments now give a normal invalid_arguments result that lists what the tool takes. Image to Video errors explain "role": "first_frame". If a request can't be priced because it isn't valid, estimate_cost says why. When a provider doesn't offer a model, the get_model error kind is now unknown_provider. (#17)

Improved in the app

  • Viewers: the output fills the Image Viewer and Video Viewer, and opens full screen.
  • Copy buttons also work when you open the app at another computer's http:// address. (#16)
  • Uploads work from other devices when allowed origins are set. They used to fail with "Could not save the file".
  • Switching models keeps a setting whose value differs only in upper or lower case, such as 720p and 720P.

Beta notes

  • Tested on macOS only. Windows and Linux are supported by the code but have not been tested yet.
  • Most provider paths have only been tested against mocks. Budget blocking and generate_batch have been tested only without real provider calls, so start with a small batch. Please report bugs with the bug template and the output of python3 scripts/doctor.py --json (it contains no keys).
  • Generation spends your own provider credits. Keys are entered in the app and stay on your computer.
  • The bundled price list is current as of this release.

All changes: v0.1.0-beta.1...v0.1.0-beta.2

MIT licensed.