smallforce media generate
Generate media with a model
This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.7. Run smallforce media generate --help locally to view the same reference for your installed version.
Complete command help
Usage: smallforce media generate [options] <endpointId>
Generate media with a model
Arguments:
endpointId Endpoint id from media models search
Options:
--input <json> Model arguments as a JSON object
--prompt <text> Shortcut that sets input.prompt
--image <assetId> Use an asset as image_url (upload first with assets upload)
--asset <field=assetId> Map an asset to an input field (repeatable)
--wait Wait for the job to finish, then print the result
--out <path> Download output(s) to this path (implies --wait)
--timeout <s> Max seconds to wait, default 300
--api-key <key> SmallForce API key, or set SMALLFORCE_API_KEY
--backend-url <url> SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
--json Print stable machine-readable JSON
--text Print human-readable text
--format <format> Output format: text or json
-h, --help display help for command
Related reference
smallforce media: Parent command and related operations.- CLI installation and authentication: Install the CLI and configure an API key.
- CLI JSON output: Use stable machine-readable output in scripts and agents.