curl -X POST https://api.dev.u1.archetypeai.app/v0.5/lens/clone \ -H "Authorization: Bearer $ATAI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "lens_id": "lns-test-lens-93812264" }'
{ "lens_id": "lns-test-lens-b2ba0058", "lens_name": "Test Lens", "lens_status": "LENS_STATUS_MOUNTED", "lens_modifiable": true, "lens_config": { "model_pipeline": [ { "processor_name": "lens_noop_processor", "processor_config": {} } ], "origin_lens_id": "34fa1b8f-6d4c-42da-b9c3-b8d66bed8fa2" } }
Creates a copy of a lens template
Bearer $ATAI_API_KEY
origin_lens_id
Was this page helpful?