SVG animation
Changed onAnimates an input SVG from a remote or base64-encoded SVG source.
Request
- Base URLhttps://api.quiver.ai
- AuthHTTP bearer
Headers
Optional client-supplied trace identifier. The API echoes this value in X-Trace-ID and includes it in request logs for client-side correlation.
Request body
Example request
{
"max_output_tokens": 4096,
"reasoning_effort": "medium",
"temperature": 0.4,
"prompt": "Make the logo pulse gently",
"svg_source": {
"url": "https://example.com/uploads/source.svg"
}
}Response
When stream is false, returns application/json with the full animated SVG response. When stream is true, returns text/event-stream with Server-Sent Events. Each SSE message contains an event: line (generating, reasoning, draft, or content) and a data: line with a JSON payload. Token-priced models report measured totals in usage and omit credits. Fixed-credit models retain compatibility token totals of 0 and report credits; for streaming, fixed credits are emitted on completed content events. The stream terminates with data: [DONE].
Example response
{
"created": 1704067200,
"credits": 1,
"data": [
{
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12 2l8 20H4z\"/></svg>"
}
],
"id": "resp_01J9AZ3XJ7D5S9ZV2Q5Z8E1A4N"
}Changes
- breaking
added
subschema #2subschema #3subschema #4subschema #5to the response bodyoneOflist for the response status (media type: text/event-stream) - info
removed
subschema #2subschema #3subschema #4subschema #5from the response bodyoneOflist for the response status (media type: text/event-stream)
- breaking
- warning
the
request property's maxLength was set to10000
- warning