FXRenderClient fx = FXRenderClient.builder() .withProvider(new StaticCredentialsProvider("api key", "apis secret")) .withRegion(Regions.EU_CENTRAL_1) .build(); Map<String, String> params = new HashMap<String, String>(); params.put("some-variable", "Some Personalized Text"); TokenResponse resp = fx.createRenderToken( new TokenRequest() .withProjectID("some project ID") .withMovie("some movie template identifier") .withParams(params)); String url = fx.getRenderURL(resp.token, "mp4"); System.out.println("pURL is: " + url);
Terms of Use | © 2017, Impossible Software, or its affiliates.