code: public void removePhotos(String photosetId, String photoIds) throws FlickrException {
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_REMOVE_PHOTOS);
  
          parameters.put("photoset_id", photosetId);
          parameters.put("photo_ids", photoIds);
  
          Response response = transportAPI.post(transportAPI.getPath(), parameters, apiKey, sharedSecret);
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
      }
docs: Remove a photo from the set.
  
  @param photosetId
  The photoset ID
  @param photoIds
  The ID's of the photos, in CVS format
  @throws FlickrException