Hymn Creator
up and running on your localhost. See README on installation, setup and deployment of Ray, kodosumi and the Hymn Creator agentic service.
Authentication
Use the/login
or /api/login
endpoint to authenticate, retrieve an API key and a set of cookies for further API interaction. The default username and password is admin and admin. Endpoint /login
authenticates with GET
plus URL parameters. POST
authenticates with URL-encoded form data (application/x-www-form-urlencoded
). The API endpoint /api/login
authenticates with POST
and a JSON body (application/json
).
/api/login
is
Flow Control
Use theapi_key
or cookies
with further requests. The following example retrieves the list of flows using api_key
.
cookies
. This demo uses this approach.
Retrieve Inputs Scheme
Retrieve Hymn Creator input schema atGET /-/localhost/8001/hymn/-
and launch flow execution with POST /-/localhost/8001/hymn/-
and appropriate inputs data.
openapi_extra
. Key elements
delivers the list of inputs element.
Launch
kodosumi rendering engine translates all inputselements
into a form to post and trigger flow execution at http://localhost:3370/inputs/-/localhost/8001/hymn/-/.

POST
follow the inputs scheme as in example:
fid
(flow identifier). Use this fid
for further requests.
Error Handling
In case of failure the result is empty. The response haserrors
as a key/value pair with error information.
topic
:
Execution Control
Request and poll for status updates at/outputs/status
.
/status
request might fail due to Ray latencies you should harden the intial request past flow launch with ?extended=true
as in the following example:
/outputs/stream
.