Save to Assets
save_to_assetsKeep a generation permanently. Outputs made through this connector expire about 24 hours after generation and are NOT stored in the user's BudgetPixel assets by default. Call this when the user wants to keep, reuse later, or find a result in their gallery / workshops — it copies the output into their assets (this counts against their storage like a website generation). Pass the job_id (and type for video / music / sound_effect). Safe to call twice: an already-saved job just reports already_saved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | What kind of generation job_id is: image (default), video, music, or sound_effect. | |
| job_id | Yes | The generation to keep — the job_id from generate_image / generate_music / generate_sound_effect / check_generation_status / get_generation_history (numeric), or the video job uuid from generate_video. | |
| folder_id | No | Optional asset folder id to save into (defaults to Uncategorized). |